1
Fork 0
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:
Jelle Raaijmakers 2021-09-30 11:44:20 +02:00 committed by Linus Groh
parent e33e0e6a27
commit aaa1382bd6
2 changed files with 14 additions and 2 deletions

View file

@ -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 };
};
}