mirror of
https://github.com/RGBCube/serenity
synced 2025-10-24 04:02:34 +00:00
Before, it was only possible to generate 27 control characters (from ^A
to ^Z, and ^\) (with only one possible key combination).
Now, the remaining 5 (^@, ^[, ^], ^^, and ^_) can also be generated with
control plus key combinations. :^)
Also added are the legacy aliases supported by most terminals:
Ctrl+{2, Space} -> ^@ (NUL)
Ctrl+3 -> ^[ (ESC)
Ctrl+4 -> ^\
Ctrl+5 -> ^]
Ctrl+6 -> ^^
Ctrl+7 -> ^_
Ctrl+8 -> ^? (DEL)
Ctrl+/ -> ^_
Note that now, one extra key combination corresponding to a character
that shares the same least significant five bits with the original
character (used in caret notation) can also generate a control
character. For example, in the US English keyboard layout both Ctrl+[
and Ctrl+{ (same as Ctrl+Shift+[) will generate the Escape control
character (^[).
|
||
|---|---|---|
| .. | ||
| Attribute.h | ||
| CharacterSet.h | ||
| CMakeLists.txt | ||
| Color.h | ||
| EscapeSequenceParser.cpp | ||
| EscapeSequenceParser.h | ||
| Line.cpp | ||
| Line.h | ||
| Position.h | ||
| Range.h | ||
| StateMachine.txt | ||
| Terminal.cpp | ||
| Terminal.h | ||
| TerminalWidget.cpp | ||
| TerminalWidget.h | ||
| XtermColors.h | ||