Lines Matching refs:win
51 WipeOut(WINDOW *win, int y, int x, char *first, char *last, bool echoed)
56 int y1 = win->_cury;
57 int x1 = win->_curx;
59 wmove(win, y, x);
60 waddstr(win, first);
61 getyx(win, y, x);
62 while (win->_cury < y1
63 || (win->_cury == y1 && win->_curx < x1))
64 waddch(win, (chtype) ' ');
66 wmove(win, y, x);
73 wgetnstr_events(WINDOW *win,
86 T((T_CALLED("wgetnstr(%p,%p, %d)"), win, str, maxlen));
88 if (!win)
106 getyx(win, y, x);
108 if (is_wintouched(win) || (win->_flags & _HASMOVED))
109 wrefresh(win);
111 while ((ch = wgetch_events(win, evl)) != ERR) {
123 && win->_cury == win->_maxy
124 && win->_scroll)
125 wechochar(win, (chtype) '\n');
134 str = WipeOut(win, y, x, oldstr, str, oldecho);
138 str = WipeOut(win, y, x, oldstr, str, oldecho);
146 int oldy = win->_cury;
147 if (waddch(win, (chtype) ch) == ERR) {
153 win->_flags &= ~_WRAPPED;
154 waddch(win, (chtype) ' ');
155 str = WipeOut(win, y, x, oldstr, str, oldecho);
157 } else if (win->_flags & _WRAPPED) {
163 if (win->_scroll
164 && oldy == win->_maxy
165 && win->_cury == win->_maxy) {
170 win->_flags &= ~_WRAPPED;
172 wrefresh(win);
177 win->_curx = 0;
178 win->_flags &= ~_WRAPPED;
179 if (win->_cury < win->_maxy)
180 win->_cury++;
181 wrefresh(win);
208 wgetnstr(WINDOW *win, char *str, int maxlen)
210 returnCode(wgetnstr_events(win,