diff options
author | vân <3432246+ivanp7@users.noreply.github.com> | 2023-11-06 13:31:53 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-06 13:31:53 +0000 |
commit | f9452ff6d56af721fb5526ede11206c7d3b885b8 (patch) | |
tree | bbf2e655f215070fbed127161278be311d670cf4 | |
parent | 9edbf27f1b6d5844a97325fcda732762ba086a99 (diff) |
Add alternative Delete key code
Delete key not always produces ^[[3~, on some terminals (like st) it produces ^[[P.
-rw-r--r-- | src/btop_input.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/btop_input.cpp b/src/btop_input.cpp index 21aff58..be59b69 100644 --- a/src/btop_input.cpp +++ b/src/btop_input.cpp @@ -56,6 +56,7 @@ namespace Input { {"OC", "right"}, {"[2~", "insert"}, {"[3~", "delete"}, + {"[P", "delete"}, {"[H", "home"}, {"[F", "end"}, {"[5~", "page_up"}, |