summaryrefslogtreecommitdiffstats
path: root/lib/libncurses/lib_endwin.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libncurses/lib_endwin.c')
-rw-r--r--lib/libncurses/lib_endwin.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libncurses/lib_endwin.c b/lib/libncurses/lib_endwin.c
index fc46222..6d61ea4 100644
--- a/lib/libncurses/lib_endwin.c
+++ b/lib/libncurses/lib_endwin.c
@@ -27,6 +27,9 @@ endwin()
SP->_endwin = TRUE;
+ if (change_scroll_region)
+ putp(tparm(change_scroll_region, 0, lines - 1));
+
mvcur(-1, -1, lines - 1, 0);
if (exit_ca_mode)
OpenPOWER on IntegriCloud