aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */