Fix screen not cleared with drag down on narrow terms

This commit is contained in:
Arun Prakash Jana 2020-04-05 06:37:26 +05:30
parent 0c966b2178
commit 6d13fce698
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with 2 additions and 0 deletions

View File

@ -5016,6 +5016,8 @@ static void redraw(char *path)
/* Fail redraw if < than 10 columns, context info prints 10 chars */
if (ncols < MIN_DISPLAY_COLS) {
/* Clear from last entry to end */
clrtobot();
printmsg(messages[MSG_FEW_COLUMNS]);
return;
}