Lines Matching refs:cur_term
66 chtype *inputQ = cur_term->_input_queue; in tgetch()
67 char *chars_onQ = &(cur_term->_chars_on_queue); in tgetch()
77 cur_term->fl_typeahdok = TRUE; in tgetch()
81 if (cur_term->_ungotten > 0) { in tgetch()
82 cur_term->_ungotten--; in tgetch()
113 if (interpret && cur_term->funckeystarter[inp]) in tgetch()
134 if (cur_term->_delay == 0) { in _readchar()
137 (void) ioctl(cur_term->_inputfd, FIONREAD, &arg); in _readchar()
145 if (cur_term->_delay > 0) { in _readchar()
149 infd = 1 << cur_term->_inputfd; in _readchar()
150 t.tv_sec = cur_term->_delay / 1000; in _readchar()
151 t.tv_usec = (cur_term->_delay % 1000) * 1000; in _readchar()
155 i = read(cur_term->_inputfd, &c, 1); in _readchar()
157 i = read(cur_term->_inputfd, &c, 1); in _readchar()
162 cur_term->_inputfd, i, c); in _readchar()
191 _KEY_MAP **kp = cur_term->_keys; in _getkey()
192 int key, num_keys = cur_term->_ksz; in _getkey()
194 chtype *inputQ = cur_term->_input_queue; in _getkey()
195 char *chars_onQ = &(cur_term->_chars_on_queue); in _getkey()
196 char flag = cur_term->funckeystarter[*inp]; in _getkey()
209 key = cur_term->_first_macro; in _getkey()
248 cur_term->_first_macro) - in _getkey()
311 if (key > cur_term->_first_macro) in _getkey()
312 lorder = &(cur_term->_lastmacro_ordered); in _getkey()
314 lorder = &(cur_term->_lastkey_ordered); in _getkey()
375 chtype *inputQ = cur_term->_input_queue; /* ??? */ in get_xterm_mouse()
377 chtype *chars_onQ = (chtype *) &(cur_term->_chars_on_queue); in get_xterm_mouse()
506 int infd = cur_term->_inputfd; in _fpk()
520 rc = read(cur_term->_inputfd, (char *)&c, 1); in _fpk()
533 if (cur_term->_check_fd != -1) in _fpk()
534 rc = read(cur_term->_check_fd, (char *)&c, 1); in _fpk()
573 infd = 1 << cur_term->_inputfd; in _fpk()
595 return ((read(cur_term->_inputfd, (char *)&c, 1) == 1) ? c : ERR); in _pk()