Add alternative Delete key code

Delete key not always produces ^[[3~, on some terminals (like st) it produces ^[[P.
This commit is contained in:
vân 2023-11-06 13:31:53 +00:00 committed by GitHub
parent 9edbf27f1b
commit f9452ff6d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,6 +56,7 @@ namespace Input {
{"OC", "right"},
{"[2~", "insert"},
{"[3~", "delete"},
{"[P", "delete"},
{"[H", "home"},
{"[F", "end"},
{"[5~", "page_up"},