Replies: 2 comments
-
We need to add to the discussion description a list of keyboard events (text input events) that we would like to track in the system. Perhaps this will be just a list of all To be the protocol cross-platform, a list of operating systems (platforms) and their list of Due to the fact that mouse events (depending on keyboard modifiers), keyboard focus state, keyboard layout state, IME state (Hello TSF and Alt+Numpad), clipboard activity (e.g. paste/receive unmodified text block), drag&drop events, gesture events, closing/shutdown/logoff events, display power-saving state, viewport size/state events, etc. are closely coupled to text input, the keyboard protocol must be generalized to the Input Protocol or VT Input Protocol or something like that, and should support tracking of all related input events. Unfortunately, any keyboard protocol without tracking related events will be defected in general, here is a minor example … (click to expand)of the need to pass an IME composition preview to a console application.
screen_record_Thu_08.29.2024_15-20-36.74.mp4
screen_record_Thu_08.29.2024_15-21-42.08.mp4Perhaps a full-fledged text input protocol should not depend on the type of application, be it CUI, TUI or GUI. It is intended to shape up events and states. VT transport is a secondary (insignificant) matter. It must be assumed that the terminal is a kind of vt-driven widget toolkit (List of widget toolkits). |
Beta Was this translation helpful? Give feedback.
-
Previous discussions on the topic: |
Beta Was this translation helpful? Give feedback.
-
Based on discussion in:
Is there any interest in designing and implementing a new keyboard protocol for inclusion in Windows Terminal?
I'd like to start that discussion here to see if others are interested, and if there are, a new GitHub project can be created to collaborate, and once there is an implementation available, it can be included in Windows Terminal. At that point in time someone can create a new issue to have it added to Windows Terminal.
Beta Was this translation helpful? Give feedback.
All reactions