ncurses.cc: handle ascii del as backspace
This commit is contained in:
parent
afc8ad77e8
commit
7d6a48f43a
|
@ -254,7 +254,7 @@ Key NCursesUI::get_key()
|
||||||
}
|
}
|
||||||
else switch (c)
|
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_UP: return Key::Up;
|
||||||
case KEY_DOWN: return Key::Down;
|
case KEY_DOWN: return Key::Down;
|
||||||
case KEY_LEFT: return Key::Left;
|
case KEY_LEFT: return Key::Left;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user