From 0195ab27b479798e963ac35c0561fe4e0e43e334 Mon Sep 17 00:00:00 2001 From: ache Date: Sun, 27 Nov 1994 03:08:12 +0000 Subject: Add wrefresh before doing putp when idlok --- lib/libncurses/lib_deleteln.c | 1 + lib/libncurses/lib_insdel.c | 1 + lib/libncurses/lib_insertln.c | 1 + lib/libncurses/lib_scroll.c | 5 +++++ 4 files changed, 8 insertions(+) (limited to 'lib/libncurses') diff --git a/lib/libncurses/lib_deleteln.c b/lib/libncurses/lib_deleteln.c index 0286211..4720b54 100644 --- a/lib/libncurses/lib_deleteln.c +++ b/lib/libncurses/lib_deleteln.c @@ -23,6 +23,7 @@ int y, touched = 0; temp = win->_line[win->_cury]; if (win->_idlok && (delete_line != NULL)) { + wrefresh(win); if (back_color_erase) { T(("back_color_erase, turning attributes off")); vidattr(curscr->_attrs = A_NORMAL); diff --git a/lib/libncurses/lib_insdel.c b/lib/libncurses/lib_insdel.c index b23288b..a9fcec5 100644 --- a/lib/libncurses/lib_insdel.c +++ b/lib/libncurses/lib_insdel.c @@ -85,6 +85,7 @@ chtype blank = ' '; if (win->_maxx == columns && win->_idlok == TRUE) { + wrefresh(win); if (back_color_erase) { T(("back_color_erase, turning attributes off")); vidattr(curscr->_attrs = A_NORMAL); diff --git a/lib/libncurses/lib_insertln.c b/lib/libncurses/lib_insertln.c index 53bfcc1..c431440 100644 --- a/lib/libncurses/lib_insertln.c +++ b/lib/libncurses/lib_insertln.c @@ -23,6 +23,7 @@ int y, touched = 0; temp = win->_line[win->_regbottom]; if (win->_idlok && (insert_line != NULL)) { + wrefresh(win); if (back_color_erase) { T(("back_color_erase, turning attributes off")); vidattr(curscr->_attrs = A_NORMAL); diff --git a/lib/libncurses/lib_scroll.c b/lib/libncurses/lib_scroll.c index a1f2a09..a348e70 100644 --- a/lib/libncurses/lib_scroll.c +++ b/lib/libncurses/lib_scroll.c @@ -87,6 +87,11 @@ chtype blank = ' '; if (win->_maxx == columns && win->_regtop == 0 && win->_regbottom == lines) { + wrefresh(win); + if (back_color_erase) { + T(("back_color_erase, turning attributes off")); + vidattr(curscr->_attrs = A_NORMAL); + } /* at the moment this relies on scroll_reverse and scroll_forward or parm_rindex and parm_index. we should add idl support as an alternative */ -- cgit v1.1