Skip to main content

Module keypad

Module keypad 

Source
Expand description

Keypad application and numeric mode selectors.

§Category

These short ESC sequences switch the numeric keypad between application mode and numeric mode.

§Escape format

The controls are not CSI sequences: application mode is ESC =, and numeric mode is ESC >.

§Mode interaction

The same state is commonly described as DEC numeric keypad mode (Mode::NUMERIC_KEYPAD, private mode 66). These constants provide the traditional DECKPAM/DECKPNM byte forms.

Constants§

KEYPAD_APPLICATION_MODE
Keypad Application Mode (DECKPAM): exact bytes ESC = (b"\x1b=").
KEYPAD_NUMERIC_MODE
Keypad Numeric Mode (DECKPNM): exact bytes ESC > (b"\x1b>").