mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
parent
8dd96ad143
commit
17b8857dc0
Notes:
sideshowbarker
2024-07-19 07:42:14 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/17b8857dc00
1 changed files with 5 additions and 0 deletions
|
@ -242,6 +242,11 @@ void TerminalWidget::keydown_event(GUI::KeyEvent& event)
|
|||
break;
|
||||
}
|
||||
|
||||
if (event.shift() && event.key() == KeyCode::Key_Tab) {
|
||||
write(m_ptm_fd, "\033[Z", 3);
|
||||
return;
|
||||
}
|
||||
|
||||
// Key event was not one of the above special cases,
|
||||
// attempt to treat it as a character...
|
||||
char ch = !event.text().is_empty() ? event.text()[0] : 0;
|
||||
|
|
Loading…
Reference in a new issue