mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-05 23:59:49 +00:00
Flesh out keyboard event support a bit more.
This commit is contained in:
parent
76a2881793
commit
aefbbeb3cb
Notes:
sideshowbarker
2024-07-19 15:59:19 +09:00
Author: https://github.com/awesomekling
Commit: aefbbeb3cb
7 changed files with 196 additions and 84 deletions
|
@ -476,7 +476,7 @@ void VirtualConsole::on_char(byte ch)
|
|||
set_cursor(m_cursor_row, m_cursor_column);
|
||||
}
|
||||
|
||||
void VirtualConsole::on_key_pressed(Keyboard::Key key)
|
||||
void VirtualConsole::on_key_pressed(Keyboard::Event key)
|
||||
{
|
||||
if (key.ctrl()) {
|
||||
if (key.character >= 'a' && key.character <= 'z') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue