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

LibVT: Replace u8 type to u32 for code point

Replace KeyEvent text attribute usage with code_point.
This commit is contained in:
Hüseyin ASLITÜRK 2020-06-13 13:56:39 +03:00 committed by Andreas Kling
parent 53227f400c
commit 7abca30f41
3 changed files with 13 additions and 18 deletions

View file

@ -38,7 +38,7 @@ namespace VT {
class TerminalClient {
public:
virtual ~TerminalClient() { }
virtual ~TerminalClient() {}
virtual void beep() = 0;
virtual void set_window_title(const StringView&) = 0;
@ -97,7 +97,7 @@ public:
const NonnullOwnPtrVector<Line>& history() const { return m_history; }
void inject_string(const StringView&);
void handle_key_press(KeyCode, u8 charatcter, u8 flags);
void handle_key_press(KeyCode, u32, u8 flags);
Attribute attribute_at(const Position&) const;