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

View file

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