mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-12 02:30:30 +09: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 | ||
Line.cpp | ||
Line.h | ||
Position.h | ||
Terminal.cpp | ||
Terminal.h | ||
TerminalWidget.cpp | ||
TerminalWidget.h | ||
XtermColors.h |