NCurses: hook redraw on c-l

This commit is contained in:
Maxime Coste 2013-03-12 18:57:12 +01:00
parent e428a9757f
commit 2440a7e82e

View File

@ -234,6 +234,8 @@ Key NCursesUI::get_key()
const int c = getch();
if (c > 0 and c < 27)
{
if (c == CTRL('l'))
redrawwin(stdscr);
return {Key::Modifiers::Control, Codepoint(c) - 1 + 'a'};
}
else if (c == 27)