Skip to content

Commit

Permalink
erase status line at exit time
Browse files Browse the repository at this point in the history
for users without altscreen-capable terminals
fixes #589
  • Loading branch information
rolandwalker authored and jonas committed Jul 7, 2017
1 parent cfb8e7a commit 4b0aba8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/display.c
Original file line number Diff line number Diff line change
Expand Up @@ -440,8 +440,13 @@ report_clear(void)
static void
done_display(void)
{
if (cursed)
if (cursed) {
if (status_win) {
werase(status_win);
doupdate();
}
endwin();
}
cursed = false;
}

Expand Down

0 comments on commit 4b0aba8

Please sign in to comment.