Lines Matching defs:win
53 _nc_insert_ch(SCREEN *sp, WINDOW *win, chtype ch)
70 for (count = (tabsize - (win->_curx % tabsize)); count > 0; count--) {
71 if ((code = _nc_insert_ch(sp, win, ' ')) != OK)
79 _nc_waddch_nosync(win, wch);
84 WINDOW_EXT(win, addch_used) == 0 &&
89 if (win->_curx <= win->_maxx) {
90 struct ldat *line = &(win->_line[win->_cury]);
91 NCURSES_CH_T *end = &(line->text[win->_curx]);
92 NCURSES_CH_T *temp1 = &(line->text[win->_maxx]);
97 CHANGED_TO_EOL(line, win->_curx, win->_maxx);
101 *temp1 = _nc_render(win, wch);
102 win->_curx++;
107 code = _nc_insert_ch(sp, win, ChAttrOf(ch) | UChar(*s));
119 wch = _nc_render(win, wch);
120 count = _nc_build_wch(win, &wch);
122 code = _nc_insert_wch(win, &wch);
128 code = _nc_insert_ch(sp, win,
146 winsch(WINDOW *win, chtype c)
152 T((T_CALLED("winsch(%p, %s)"), (void *) win, _tracechtype(c)));
154 if (win != 0) {
155 oy = win->_cury;
156 ox = win->_curx;
158 code = _nc_insert_ch(_nc_screen_of(win), win, c);
160 win->_curx = ox;
161 win->_cury = oy;
162 _nc_synchook(win);