Bug 484044 - add support for win32-input-mode
Summary: add support for win32-input-mode
Status: REPORTED
Alias: None
Product: konsole
Classification: Applications
Component: keyboard (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-20 09:15 UTC by unxed
Modified: 2024-12-01 16:49 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description unxed 2024-03-20 09:15:39 UTC
[fixterms and kitty's enhanced keyboard protocol](https://bugs.kde.org/show_bug.cgi?id=435975) are not the only existing enhanced keyboard protocols supported by terminals. There also exist the other one, called win32-input-mode.

Protocol spec:
https://github.com/microsoft/terminal/blob/main/doc/specs/%234999%20-%20Improved%20keyboard%20handling%20in%20Conpty.md

Reference implementation on the terminal side:
https://github.com/wez/wezterm/issues/1509

Reference implementation on the console app side:
https://github.com/elfmz/far2l/pull/1581

Reference implementation on the TUI framework side:
https://github.com/magiblot/tvision/commit/5c017a81ef82876a27532a5676e653f035346b49

[This small lib](https://github.com/unxed/xkb2win/) should help with translating X11 key codes to win32-input-mode ones.