NCurses: hook redraw on c-l
This commit is contained in:
parent
e428a9757f
commit
2440a7e82e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user