diff options
Diffstat (limited to 'ui/ncurses')
-rw-r--r-- | ui/ncurses/nc-cui.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ui/ncurses/nc-cui.c b/ui/ncurses/nc-cui.c index 5f1a5e4..df727bc 100644 --- a/ui/ncurses/nc-cui.c +++ b/ui/ncurses/nc-cui.c @@ -272,10 +272,8 @@ static bool process_global_keys(struct cui *cui, int key) { switch (key) { case 0xc: - if (cui->current && cui->current->main_ncw) { - redrawwin(cui->current->main_ncw); - wrefresh(cui->current->main_ncw); - } + if (cui->current && cui->current->main_ncw) + wrefresh(curscr); return true; } return false; |