Lines Matching defs:key
115 int key = 0, button = 0, choice = 0, scroll = 0, max_choice;
201 while (key != KEY_ESC) {
202 key = wgetch(dialog);
206 if (toupper(key) == toupper(item_str()[0]))
210 if (i < max_choice || key == KEY_UP || key == KEY_DOWN ||
211 key == '+' || key == '-') {
212 if (key == KEY_UP || key == '-') {
234 continue; /* wait for another key press */
237 } else if (key == KEY_DOWN || key == '+') {
262 continue; /* wait for another key press */
277 continue; /* wait for another key press */
279 switch (key) {
299 button = ((key == KEY_LEFT ? --button : ++button) < 0)
307 key = KEY_ESC;
310 key = on_key_esc(dialog);
324 return key; /* ESC pressed */