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:
parent
53227f400c
commit
7abca30f41
3 changed files with 13 additions and 18 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue