aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1994-11-27 03:08:12 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1994-11-27 03:08:12 +0000
commit3d3c746818bce3730d62da8d1c8c872465f9bdf6 (patch)
tree8671f762423f5355ea45b1d9039aaeedb769828c
parent06fc741b2a79917f8a633aa01f7ccc93572c3d3b (diff)
downloadsrc-3d3c746818bce3730d62da8d1c8c872465f9bdf6.tar.gz
src-3d3c746818bce3730d62da8d1c8c872465f9bdf6.zip
Add wrefresh before doing putp when idlok
Notes
Notes: svn path=/head/; revision=4831
-rw-r--r--lib/libncurses/lib_deleteln.c1
-rw-r--r--lib/libncurses/lib_insdel.c1
-rw-r--r--lib/libncurses/lib_insertln.c1
-rw-r--r--lib/libncurses/lib_scroll.c5
4 files changed, 8 insertions, 0 deletions
diff --git a/lib/libncurses/lib_deleteln.c b/lib/libncurses/lib_deleteln.c
index 02862112fa75..4720b549627d 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 b23288b4e515..a9fcec5bdc67 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 53bfcc12ebab..c43144098bd3 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 a1f2a098f914..a348e70d37bd 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 */