diff options
author | ache <ache@FreeBSD.org> | 1994-11-27 03:08:12 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1994-11-27 03:08:12 +0000 |
commit | 0195ab27b479798e963ac35c0561fe4e0e43e334 (patch) | |
tree | 8671f762423f5355ea45b1d9039aaeedb769828c /lib | |
parent | 127177257e1b1cf230c7c9a81b9bbeb09df79946 (diff) | |
download | FreeBSD-src-0195ab27b479798e963ac35c0561fe4e0e43e334.zip FreeBSD-src-0195ab27b479798e963ac35c0561fe4e0e43e334.tar.gz |
Add wrefresh before doing putp when idlok
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libncurses/lib_deleteln.c | 1 | ||||
-rw-r--r-- | lib/libncurses/lib_insdel.c | 1 | ||||
-rw-r--r-- | lib/libncurses/lib_insertln.c | 1 | ||||
-rw-r--r-- | lib/libncurses/lib_scroll.c | 5 |
4 files changed, 8 insertions, 0 deletions
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 */ |