aboutsummaryrefslogtreecommitdiff
path: root/scripts/kconfig/libcurses/refresh.c
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/kconfig/libcurses/refresh.c')
-rw-r--r--scripts/kconfig/libcurses/refresh.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/scripts/kconfig/libcurses/refresh.c b/scripts/kconfig/libcurses/refresh.c
index c7122332e..306f4efb3 100644
--- a/scripts/kconfig/libcurses/refresh.c
+++ b/scripts/kconfig/libcurses/refresh.c
@@ -64,8 +64,16 @@ int wnoutrefresh(WINDOW *win)
64 64
65 PDC_LOG(("wnoutrefresh() - called: win=%p\n", win)); 65 PDC_LOG(("wnoutrefresh() - called: win=%p\n", win));
66 66
67 if ( !win || (win->_flags & (_PAD|_SUBPAD)) ) 67 if (!win)
68 return ERR; 68 return ERR;
69 if (is_pad(win))
70 return pnoutrefresh(win,
71 win->_pad._pad_y,
72 win->_pad._pad_x,
73 win->_pad._pad_top,
74 win->_pad._pad_left,
75 win->_pad._pad_bottom,
76 win->_pad._pad_right);
69 77
70 begy = win->_begy; 78 begy = win->_begy;
71 begx = win->_begx; 79 begx = win->_begx;
@@ -215,6 +223,8 @@ int doupdate(void)
215 SP->cursrow = curscr->_cury; 223 SP->cursrow = curscr->_cury;
216 SP->curscol = curscr->_curx; 224 SP->curscol = curscr->_curx;
217 225
226 PDC_doupdate();
227
218 return OK; 228 return OK;
219} 229}
220 230