mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:57:43 +00:00
LibGUI: Add KeyEvent::to_string()
This makes it way easier to debug key events.
This commit is contained in:
parent
90eec0a3d7
commit
479f16bb6c
2 changed files with 31 additions and 0 deletions
|
@ -278,6 +278,8 @@ public:
|
|||
u8 modifiers() const { return m_modifiers; }
|
||||
String text() const { return m_text; }
|
||||
|
||||
String to_string() const;
|
||||
|
||||
private:
|
||||
friend class WindowServerConnection;
|
||||
int m_key { 0 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue