From 2440a7e82e9064f9ff4978b49c8135a2c376bc47 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 12 Mar 2013 18:57:12 +0100 Subject: [PATCH] NCurses: hook redraw on c-l --- src/ncurses.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ncurses.cc b/src/ncurses.cc index a248405b..f3170671 100644 --- a/src/ncurses.cc +++ b/src/ncurses.cc @@ -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)