| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-09-29 | input: don't ESC prefix non-ascii characters | Tim Culverhouse | |
| User input withe Alt modifier is typically ESC prefixed. Escape prefixing a non-ascii character can cause bugs in some applications. For example in bash, emitting an Alt+ф allows the user to backspace one character into the prompt. This can be repeated multiple times. When a character is outside the ASCII range (exclusive of 0x7F, this is handled as a control sequence), print the character as is, with no prefix. | |||
| 2023-09-29 | input(kitty): fix reporting of alternate keys | Tim Culverhouse | |
| Fix reporting of alternate keys when using the kitty protocol. Alternate keyboard layouts were failing to report the "base layout" key. This implementation now matches kitty's output 1:1, and has some added unit tests for cyrillic characters. This also fixes a bug where a caps_lock modified key would report the shifted key as well. The protocol explicitly requires that shifted keys are only reported if the shift modifier is true. | |||
| 2023-09-27 | input: 0x7F is a control character, use helper | Mitchell Hashimoto | |
| Fixes #556 One check for control chars was missing 0x7F. Since we do this three times, extract it to a helper and call that. | |||
| 2023-09-20 | input: correct xterm encoding for modified F1-F4 | Mitchell Hashimoto | |
| Fixes #499 | |||
| 2023-09-19 | input: kitty alternates and text should not include control characters | Mitchell Hashimoto | |
| 2023-08-26 | input: keypad enter should act as normal "\r" if no other seq matches | Mitchell Hashimoto | |
| This matches Kitty behavior on both macOS and Linux. In certain keyboard modes and Kitty keyboard modes, the behavior changes but those already matched (tested). | |||
| 2023-08-24 | input: kitty should not encode modifier-only key unless "report all" | Mitchell Hashimoto | |
| 2023-08-24 | apprt/embedded: do not translate control characters | Mitchell Hashimoto | |
| macOS translates inputs such as shift+tab into the control character tab (ascii 0x09). Linux/GTK does not translate character inputs except to printable characters. We don't want control character translations because these are all handled manually by our key encoder (i.e. translating ctrl+c to 0x03). | |||
| 2023-08-22 | input: kitty encoding should only output unmodified utf8 if printable | Mitchell Hashimoto | |
| 2023-08-21 | input: pc style function keys should use all mods, not effective | Mitchell Hashimoto | |
| 2023-08-17 | input: remove old TODO. This is handled now in the app runtimes | Mitchell Hashimoto | |
| 2023-08-17 | input: repeat events need to be handled for Kitty w/o report events | Mitchell Hashimoto | |
| 2023-08-17 | input: proper optional entry handling | Mitchell Hashimoto | |
| 2023-08-17 | input: Kitty encodes alternate keys | Mitchell Hashimoto | |
| 2023-08-17 | core: use Kitty encoding if enabled | Mitchell Hashimoto | |
| 2023-08-17 | input: lot more Kitty encoding logic | Mitchell Hashimoto | |
| 2023-08-17 | input: KittySequence for encoding sequences | Mitchell Hashimoto | |
| 2023-08-16 | input: begin kitty key encoding logic (not working yet) | Mitchell Hashimoto | |
| 2023-08-16 | input: do not send ctrl-sequences for ctrl-i,m,[ | Mitchell Hashimoto | |
| 2023-08-16 | input: clarify why we use all mods for unicode CSI u | Mitchell Hashimoto | |
| 2023-08-16 | input: CSI u encoding for modified unicode chars | Mitchell Hashimoto | |
| 2023-08-16 | input: encoding should always write to the buf | Mitchell Hashimoto | |
| 2023-08-16 | input: legacy encoding never emits sequence during dead key state | Mitchell Hashimoto | |
| 2023-08-16 | core: start on key2Callback for the new callback that uses KeyEncoder | Mitchell Hashimoto | |
| 2023-08-16 | input: legacy key encoding handles alt-as-esc for general utf8 | Mitchell Hashimoto | |
| 2023-08-16 | input: KeyEncoder handles the charCallback stuff now too | Mitchell Hashimoto | |
| 2023-08-16 | input: KeyEncoder legacy encoding handles old keyCallback logic | Mitchell Hashimoto | |
| 2023-08-16 | input: starting to work on KeyEncoder, got ctrl sequences | Mitchell Hashimoto | |
