mirror of https://github.com/aristocratos/btop.git
Add alternative Delete key code
Delete key not always produces ^[[3~, on some terminals (like st) it produces ^[[P.
This commit is contained in:
parent
9edbf27f1b
commit
f9452ff6d5
|
@ -56,6 +56,7 @@ namespace Input {
|
||||||
{"OC", "right"},
|
{"OC", "right"},
|
||||||
{"[2~", "insert"},
|
{"[2~", "insert"},
|
||||||
{"[3~", "delete"},
|
{"[3~", "delete"},
|
||||||
|
{"[P", "delete"},
|
||||||
{"[H", "home"},
|
{"[H", "home"},
|
||||||
{"[F", "end"},
|
{"[F", "end"},
|
||||||
{"[5~", "page_up"},
|
{"[5~", "page_up"},
|
||||||
|
|
Loading…
Reference in New Issue