1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 02:37:35 +00:00

LibVT: Implement G0..G3 and VT100 translation table

This commit is contained in:
Jelle Raaijmakers 2021-09-30 13:58:12 +02:00 committed by Linus Groh
parent aaa1382bd6
commit 49ccda5d97
3 changed files with 106 additions and 1 deletions

View file

@ -12,6 +12,7 @@
#include <AK/String.h>
#include <AK/Vector.h>
#include <Kernel/API/KeyCode.h>
#include <LibVT/CharacterSet.h>
#include <LibVT/EscapeSequenceParser.h>
#include <LibVT/Position.h>
@ -443,6 +444,10 @@ protected:
Optional<u16> m_column_before_carriage_return;
bool m_controls_are_logically_generated { false };
CursorKeysMode m_cursor_keys_mode { Cursor };
CharacterSetTranslator m_character_set_translator {};
size_t m_active_working_set_index { 0 };
CharacterSet m_working_sets[4] { Iso_8859_1 };
};
}