This commit is contained in:
Kartik K. Agaram 2021-12-08 22:37:54 -08:00
parent 653f9cc874
commit 47c8e9df22
1 changed files with 2 additions and 0 deletions

View File

@ -744,6 +744,8 @@ static void editorRefreshScreen(void (*menu_func)(void)) {
curs_set(0);
clear();
attrset(A_NORMAL);
/* Draw all line numbers first so they don't mess up curses state later
* when rendering lines. */
for (y = 0; y < LINES-1; y++) {
int filerow = E.rowoff+y;