diff --git a/src/prompt.c b/src/prompt.c index 745c4a658970f241e8a1f80279e771d820002f20..01e2f96c05f7972310292a2c62bd8349576b9f77 100644 --- a/src/prompt.c +++ b/src/prompt.c @@ -899,10 +899,9 @@ void update_statusbar_line(const char *curranswer, size_t index) waddstr(bottomwin, expanded); free(expanded); - reset_statusbar_cursor(); - wattroff(bottomwin, reverse_attr); + reset_statusbar_cursor(); wnoutrefresh(bottomwin); } diff --git a/src/winio.c b/src/winio.c index 135ec4712e665145f857c306700bf0b3941a996b..7e8a3dc5d1205a41d8a98f151939523602b71b25 100644 --- a/src/winio.c +++ b/src/winio.c @@ -3122,7 +3122,6 @@ void edit_refresh(void) blank_line(edit, nlines, 0, COLS); reset_cursor(); - wnoutrefresh(edit); }