You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running Far2l within the built-in terminal of Lens (a Kubernetes IDE) on Windows Server 2022, the win32-input-mode becomes active (TTY|w is seen), but the escape sequences generated for some keys are incorrect. For example:
Lens is using xterm.js for terminal implementation. xterm.js team is discussing win32-input-mode support, but it is not ready yet AFAIK: xtermjs/xterm.js#2357
When running Far2l within the built-in terminal of Lens (a Kubernetes IDE) on Windows Server 2022, the win32-input-mode becomes active (TTY|w is seen), but the escape sequences generated for some keys are incorrect. For example:
\x1b[0;0;13;1;0;1_\x1b[13;28;13;0;0;1_
\x1b[17;29;0;1;8;1_\x1b[0;0;3;1;0;1_\x1b[67;46;3;0;8;1_\x1b[17;29;0;0;0;1_
\x1b[0;0;27;1;0;1_\x1b[27;1;27;0;0;1_
This can be worked around by setting Virtual Key Code automatically based on Unicode key value, like this:
Code from here: unxed@3ecf059
Another possible solution is key tracking (received keyup without corresponding keydown? generate keydown also) like it is done in pitty4far2l:
Implemented here: unxed@203582d
But there is still a problem: our "win32-input-mode double encoding hack" prevents workarounds above from working with ESC key presses.
See also:
https://t.me/far2l_ru/36896
The text was updated successfully, but these errors were encountered: