From 37fbe6c6ebe57357d61aad3f6a7e2ae482bb9e5e Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 10 Jan 2017 13:35:10 +0000 Subject: [PATCH] Treat as backspace in ncurses ui Fixes #1030 --- src/ncurses_ui.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ncurses_ui.cc b/src/ncurses_ui.cc index 5c0df88b..d619bfc2 100644 --- a/src/ncurses_ui.cc +++ b/src/ncurses_ui.cc @@ -537,6 +537,8 @@ Optional NCursesUI::get_next_key() return {Key::Return}; if (c == control('i')) return {Key::Tab}; + if (c == control('h')) + return {Key::Backspace}; if (c == control('z')) { raise(SIGTSTP);