We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c60256f commit 64a95bdCopy full SHA for 64a95bd
applications/terminal/src/screen/gui/gui_screen.cpp
@@ -76,7 +76,14 @@ bool gui_screen_t::createUi()
76
canvas.component->setBoundsListener(new canvas_resize_bounds_listener_t(this));
77
canvas.component->addKeyListener([this](g_key_event& e)
78
{
79
- auto info = g_keyboard::fullKeyInfo(e.info);
+ g_key_info_basic ghostKey;
80
+ ghostKey.pressed = e.info.pressed;
81
+ ghostKey.ctrl = e.info.ctrl;
82
+ ghostKey.shift = e.info.shift;
83
+ ghostKey.alt = e.info.alt;
84
+ ghostKey.scancode = e.info.scancode;
85
+
86
+ auto info = g_keyboard::fullKeyInfo(ghostKey);
87
if(info.key == "KEY_PAD_2")
88
89
scroll(1);
0 commit comments