diff options
author | jaredforrest <jared_forrest@mailbox.org> | 2020-12-10 14:04:12 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-10 15:04:12 +0100 |
commit | aa9ca84cb28a92e67a56795371336e9281084244 (patch) | |
tree | 7fdb96f9570df35d88cab26da2ef361ac97cae6f /src/curses | |
parent | 7ee6de39a1540f87854335d5b226018276ce9ef9 (diff) |
Fix delete key in st (#425)
Diffstat (limited to 'src/curses')
-rw-r--r-- | src/curses/window.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/curses/window.cpp b/src/curses/window.cpp index 4193bf76..9e024c97 100644 --- a/src/curses/window.cpp +++ b/src/curses/window.cpp @@ -948,6 +948,8 @@ Key::Type Window::getInputChar(int key) m_mouse_event.y = (raw_y - 33) & 0xff; return define_mouse_event(key); } + case 'P': // st + return Key::Delete; case 'Z': return Key::Shift | Key::Tab; case '[': // F1 to F5 in tty |