summaryrefslogtreecommitdiffstats
path: root/lib/libncurses/lib_scroll.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1994-11-27 03:08:12 +0000
committerache <ache@FreeBSD.org>1994-11-27 03:08:12 +0000
commit0195ab27b479798e963ac35c0561fe4e0e43e334 (patch)
tree8671f762423f5355ea45b1d9039aaeedb769828c /lib/libncurses/lib_scroll.c
parent127177257e1b1cf230c7c9a81b9bbeb09df79946 (diff)
downloadFreeBSD-src-0195ab27b479798e963ac35c0561fe4e0e43e334.zip
FreeBSD-src-0195ab27b479798e963ac35c0561fe4e0e43e334.tar.gz
Add wrefresh before doing putp when idlok
Diffstat (limited to 'lib/libncurses/lib_scroll.c')
-rw-r--r--lib/libncurses/lib_scroll.c5
1 files changed, 5 insertions, 0 deletions
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 */
OpenPOWER on IntegriCloud