1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-12 02:30:30 +09:00
ladybird/Libraries/LibVT
Nico Weber 83c07be794 LibVT+LibLine: Use 1;mods CSI parameters for ctrl/alt/shift-arrow keys
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.
2020-09-15 09:45:13 +02:00
..
CMakeLists.txt LibVT: Move out the Line class from Terminal to its own class 2020-05-15 18:57:50 +02:00
Line.cpp Unicode: Try s/codepoint/code_point/g again 2020-08-05 22:33:42 +02:00
Line.h Unicode: Try s/codepoint/code_point/g again 2020-08-05 22:33:42 +02:00
Position.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
Terminal.cpp LibVT+LibLine: Use 1;mods CSI parameters for ctrl/alt/shift-arrow keys 2020-09-15 09:45:13 +02:00
Terminal.h LibVT: Let Terminal keep history in a circular buffer 2020-09-10 12:01:26 +02:00
TerminalWidget.cpp LibVT: Show an I-beam cursor over TerminalWidget 2020-09-11 14:26:37 +02:00
TerminalWidget.h LibGUI: Make focus events more aware of why focus is changing 2020-08-15 00:05:45 +02:00
XtermColors.h LibVT: Support RGB colors (\x1b[38;2;<r>;<g>;<b>m) 2020-05-10 10:23:05 +02:00