summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-10-17 00:52:01 +0200
committerwm4 <wm4@nowhere>2014-10-17 00:53:47 +0200
commitb5ca94af5cd38c90917d6524976dda2d16135660 (patch)
tree41332c7cba93a787f528aafe009ab7627a7717d0
parenta1213311864297c1cd0232ce367171c461393a3d (diff)
downloadmpv-b5ca94af5cd38c90917d6524976dda2d16135660.tar.bz2
mpv-b5ca94af5cd38c90917d6524976dda2d16135660.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},