Skip to content

Commit

Permalink
Add alternative Delete key code
Browse files Browse the repository at this point in the history
Delete key not always produces ^[[3~, on some terminals (like st) it produces ^[[P.
  • Loading branch information
ivanp7 committed Nov 6, 2023
1 parent 9edbf27 commit f9452ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/btop_input.cpp
Expand Up @@ -56,6 +56,7 @@ namespace Input {
{"OC", "right"},
{"[2~", "insert"},
{"[3~", "delete"},
{"[P", "delete"},
{"[H", "home"},
{"[F", "end"},
{"[5~", "page_up"},
Expand Down

0 comments on commit f9452ff

Please sign in to comment.