Lines Matching refs:cur_term
69 chtype *inputQ = cur_term->_input_queue; in tgetch()
70 char *chars_onQ = &(cur_term->_chars_on_queue); in tgetch()
80 cur_term->fl_typeahdok = TRUE; in tgetch()
84 if (cur_term->_ungotten > 0) { in tgetch()
85 cur_term->_ungotten--; in tgetch()
116 if (interpret && cur_term->funckeystarter[inp]) in tgetch()
137 if (cur_term->_delay == 0) { in _readchar()
140 (void) ioctl(cur_term->_inputfd, FIONREAD, &arg); in _readchar()
148 if (cur_term->_delay > 0) { in _readchar()
152 infd = 1 << cur_term->_inputfd; in _readchar()
153 t.tv_sec = cur_term->_delay / 1000; in _readchar()
154 t.tv_usec = (cur_term->_delay % 1000) * 1000; in _readchar()
158 i = read(cur_term->_inputfd, &c, 1); in _readchar()
160 i = read(cur_term->_inputfd, &c, 1); in _readchar()
165 cur_term->_inputfd, i, c); in _readchar()
194 _KEY_MAP **kp = cur_term->_keys; in _getkey()
195 int key, num_keys = cur_term->_ksz; in _getkey()
197 chtype *inputQ = cur_term->_input_queue; in _getkey()
198 char *chars_onQ = &(cur_term->_chars_on_queue); in _getkey()
199 char flag = cur_term->funckeystarter[*inp]; in _getkey()
212 key = cur_term->_first_macro; in _getkey()
251 cur_term->_first_macro) - in _getkey()
314 if (key > cur_term->_first_macro) in _getkey()
315 lorder = &(cur_term->_lastmacro_ordered); in _getkey()
317 lorder = &(cur_term->_lastkey_ordered); in _getkey()
378 chtype *inputQ = cur_term->_input_queue; /* ??? */ in get_xterm_mouse()
380 chtype *chars_onQ = (chtype *) &(cur_term->_chars_on_queue); in get_xterm_mouse()
509 int infd = cur_term->_inputfd; in _fpk()
523 rc = read(cur_term->_inputfd, (char *)&c, 1); in _fpk()
536 if (cur_term->_check_fd != -1) in _fpk()
537 rc = read(cur_term->_check_fd, (char *)&c, 1); in _fpk()
575 infd = 1 << cur_term->_inputfd; in _fpk()
597 return ((read(cur_term->_inputfd, (char *)&c, 1) == 1) ? c : ERR); in _pk()