diff options
Diffstat (limited to 'display.c')
-rw-r--r-- | display.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -120,7 +120,10 @@ static int display_refresh(int win, bool read) if (windata[win].ops && windata[win].ops->display) return windata[win].ops->display(read); - return 0; + if (werase(main_win)) + return -1; + + return wrefresh(main_win); } int display_refresh_pad(int win) |