mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:28:12 +00:00
![]() xterms send a bitmask (+ 1) in the 2nd CSI parameter if "special" keys (arrow keys, pgup/down, etc) are sent with modifiers held down. Serenity's Terminal used to send ^[[O, which is a nonexistent escape sequence and a misread of VT100's ^[O (ie the '[' is replaced by 'O'). Since the xterm scheme also supports shift and alt modifiers, switch to that. More flexible, and makes ctrl-left/right and alt-left/right work in SerenityOS's bash port. Also do this for page up/down. No behavior change for SerenityOS's Shell. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Editor.cpp | ||
Editor.h | ||
InternalFunctions.cpp | ||
Span.h | ||
StringMetrics.h | ||
Style.h | ||
SuggestionDisplay.h | ||
SuggestionManager.cpp | ||
SuggestionManager.h | ||
VT.h | ||
XtermSuggestionDisplay.cpp |