Skip to content
Snippets Groups Projects
Commit 4e332eae authored by deuce's avatar deuce
Browse files

Don't clreol() the status line unles the gotoxy() is successful.

This fixes screen corruption with CTRL-E in 40-column modes.
parent b66c155e
No related branches found
No related tags found
No related merge requests found
......@@ -2310,9 +2310,11 @@ void bottomline(int mode)
i += uprintf(i,api->scrn_len+1,api->bclr|(api->cclr<<4),"ESC "); /* Backspace is no good no way to abort editing */
i += uprintf(i,api->scrn_len+1,BLACK|(api->cclr<<4),"Exit");
gotoxy(i,api->scrn_len+1);
if (wherex() == i && wherey() == api->scrn_len+1) {
textattr(BLACK|(api->cclr<<4));
clreol();
}
}
/*****************************************************************************/
/* Generates a 24 character ASCII string that represents the time_t pointer */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment