Lines Matching refs:key
125 /* Get a key from the buffer of characters to be read.
126 Return the key in KEY.
127 Result is KEY if there was a key, or 0 if there wasn't. */
129 rl_get_char (key)
130 int *key;
135 *key = ibuffer[pop_index++];
150 _rl_unget_char (key)
151 int key;
158 ibuffer[pop_index] = key;
344 int key, t, i;
347 i = key = 0;
351 while ((t = rl_get_char (&key)) &&
352 _rl_keymap[key].type == ISFUNC &&
353 _rl_keymap[key].function == rl_insert)
354 string[i++] = key;
357 _rl_unget_char (key);
367 rl_stuff_char (key)
368 int key;
373 if (key == EOF)
375 key = NEWLINE;
379 ibuffer[push_index++] = key;
415 /* Read a key, including pending input. */