summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-10-17 00:52:01 +0200
committerAlessandro Ghedini <alessandro@ghedini.me>2014-10-18 15:05:35 +0200
commitaf58a8c3244e6b1d51db0543e770c6baaf4bc624 (patch)
tree493448195df2bdc61e5a4acc5b1ea694ffdb4f0c
parent3fae6aaae80026c5601c1956e46c07fcb65d0a68 (diff)
downloadmpv-af58a8c3244e6b1d51db0543e770c6baaf4bc624.tar.bz2
mpv-af58a8c3244e6b1d51db0543e770c6baaf4bc624.tar.xz
terminal: recognize ^h
Fixes #1185. CC: @mpv-player/stable
-rw-r--r--osdep/terminal-unix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/osdep/terminal-unix.c b/osdep/terminal-unix.c
index 5c8e61ba78..bb5ae324ff 100644
--- a/osdep/terminal-unix.c
+++ b/osdep/terminal-unix.c
@@ -70,6 +70,7 @@ struct key_entry {
};
static const struct key_entry keys[] = {
+ {"\010", MP_KEY_BS},
{"\011", MP_KEY_TAB},
{"\012", MP_KEY_ENTER},
{"\177", MP_KEY_BS},