diff --git a/ChangeLog b/ChangeLog index 11ca41649911a4b8788a564f8c27d7ca73583469..16c31bcff624cd2191fe5afb35abdefe9c18ab11 100644 --- a/ChangeLog +++ b/ChangeLog @@ -382,13 +382,11 @@ CVS code - - Call wnoutrefresh(edit) to make sure that the edit window is refreshed before we get input, as statusq() does. (DLR) total_redraw() - - Simplify to call clearok(TRUE) and wrefresh() on curscr, which - updates the entire screen in fewer function calls without - moving the cursor from the window it's currently in. (DLR) + - Simplify to just call wrefresh() on curscr, which updates the + entire screen in one function call without moving the cursor + from the window it's currently in. (DLR) - When using slang, use SLsmg_touch_screen() and SLsmg_refresh() - to update the screen, as slang doesn't define curscr, and even - if it did, the curses method will leave some windows cleared - without properly updating them. (DLR) + to update the screen, as slang doesn't define curscr. (DLR) do_replace_highlight() - Use waddch() instead of waddstr() to display a space when we have a zero-length regex. (DLR) diff --git a/src/winio.c b/src/winio.c index 2fd81fa806b8a75e3dfee4531b43328ae139d3d0..5e1d190461e4274c46b0f0d7e040da8ad60fcc6c 100644 --- a/src/winio.c +++ b/src/winio.c @@ -3746,13 +3746,10 @@ void total_redraw(void) { #ifdef USE_SLANG /* Slang curses emulation brain damage, part 3: Slang doesn't define - * curscr, and even if it did, if we just do what curses does here, - * it'll leave some windows cleared without updating them - * properly. */ + * curscr. */ SLsmg_touch_screen(); SLsmg_refresh(); #else - clearok(curscr, TRUE); wrefresh(curscr); #endif }