We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f88650e commit 9d0beb7Copy full SHA for 9d0beb7
1 file changed
src/common/input/Win32InputMode.ts
@@ -21,15 +21,15 @@ import { C0 } from 'common/data/EscapeSequences';
21
* Win32 control key state flags (from Windows API).
22
*/
23
export const enum Win32ControlKeyState {
24
- RIGHT_ALT_PRESSED = 0x0001,
25
- LEFT_ALT_PRESSED = 0x0002,
26
- RIGHT_CTRL_PRESSED = 0x0004,
27
- LEFT_CTRL_PRESSED = 0x0008,
28
- SHIFT_PRESSED = 0x0010,
29
- NUMLOCK_ON = 0x0020,
30
- SCROLLLOCK_ON = 0x0040,
31
- CAPSLOCK_ON = 0x0080,
32
- ENHANCED_KEY = 0x0100,
+ RIGHT_ALT_PRESSED = 0b000000001,
+ LEFT_ALT_PRESSED = 0b000000010,
+ RIGHT_CTRL_PRESSED = 0b000000100,
+ LEFT_CTRL_PRESSED = 0b000001000,
+ SHIFT_PRESSED = 0b000010000,
+ NUMLOCK_ON = 0b000100000,
+ SCROLLLOCK_ON = 0b001000000,
+ CAPSLOCK_ON = 0b010000000,
+ ENHANCED_KEY = 0b100000000,
33
}
34
35
/**
0 commit comments