mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:57:35 +00:00
LibVT: Implement support for Cursor Keys Mode (DECCKM)
This commit is contained in:
parent
e33e0e6a27
commit
aaa1382bd6
2 changed files with 14 additions and 2 deletions
|
@ -37,6 +37,11 @@ enum CursorStyle {
|
|||
SteadyBar
|
||||
};
|
||||
|
||||
enum CursorKeysMode {
|
||||
Application,
|
||||
Cursor,
|
||||
};
|
||||
|
||||
class TerminalClient {
|
||||
public:
|
||||
virtual ~TerminalClient() { }
|
||||
|
@ -437,6 +442,7 @@ protected:
|
|||
|
||||
Optional<u16> m_column_before_carriage_return;
|
||||
bool m_controls_are_logically_generated { false };
|
||||
CursorKeysMode m_cursor_keys_mode { Cursor };
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue