diff options
author | Jelle Raaijmakers <jelle@gmta.nl> | 2021-09-30 11:44:20 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-10-02 21:07:47 +0100 |
commit | aaa1382bd6b5b0ba29ed2850d03cb083b71f896f (patch) | |
tree | 1502b6e83902d260bb383a7a92ce65a452531b03 /Userland/Libraries/LibVT/Terminal.h | |
parent | e33e0e6a27f6bfb7226e4be37d3dbc32ee3a5491 (diff) | |
download | serenity-aaa1382bd6b5b0ba29ed2850d03cb083b71f896f.zip |
LibVT: Implement support for Cursor Keys Mode (DECCKM)
Diffstat (limited to 'Userland/Libraries/LibVT/Terminal.h')
-rw-r--r-- | Userland/Libraries/LibVT/Terminal.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Userland/Libraries/LibVT/Terminal.h b/Userland/Libraries/LibVT/Terminal.h index f198eab6a9..745aabf7a9 100644 --- a/Userland/Libraries/LibVT/Terminal.h +++ b/Userland/Libraries/LibVT/Terminal.h @@ -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 }; }; } |