UNPKG

@visulima/ansi

Version:

ANSI escape codes for some terminal swag.

28 lines (27 loc) 1.03 kB
/** * Keypad Application Mode (DECKPAM). * * Switches the numeric keypad into "application" mode, so its keys transmit * application control sequences instead of the plain numeric/cursor characters. * This is equivalent to setting the DEC private mode DECNKM. * * Sequence: `ESC =` * @see {@link https://vt100.net/docs/vt510-rm/DECKPAM.html} */ declare const keypadApplicationMode: string; /** Alias for {@link keypadApplicationMode} (DEC Keypad Application Mode). */ declare const DECKPAM: string; /** * Keypad Numeric Mode (DECKPNM). * * Switches the numeric keypad back into "numeric" mode, so its keys transmit the * plain numeric/cursor characters. This is equivalent to resetting the DEC * private mode DECNKM. * * Sequence: `ESC >` * @see {@link https://vt100.net/docs/vt510-rm/DECKPNM.html} */ declare const keypadNumericMode: string; /** Alias for {@link keypadNumericMode} (DEC Keypad Numeric Mode). */ declare const DECKPNM: string; export { DECKPAM, DECKPNM, keypadApplicationMode, keypadNumericMode };