diff --git a/src/ncurses.cc b/src/ncurses.cc index 253bcf7c..d4fc8e39 100644 --- a/src/ncurses.cc +++ b/src/ncurses.cc @@ -254,7 +254,7 @@ Key NCursesUI::get_key() } else switch (c) { - case KEY_BACKSPACE: return Key::Backspace; + case KEY_BACKSPACE: case 127: return Key::Backspace; case KEY_UP: return Key::Up; case KEY_DOWN: return Key::Down; case KEY_LEFT: return Key::Left;