Lines Matching refs:key
121 int key = 0, button = 0, choice = 0, scroll = 0, max_choice; in dialog_checklist() local
208 while (key != KEY_ESC) { in dialog_checklist()
209 key = wgetch(dialog); in dialog_checklist()
213 if (toupper(key) == toupper(item_str()[0])) in dialog_checklist()
217 if (i < max_choice || key == KEY_UP || key == KEY_DOWN || in dialog_checklist()
218 key == '+' || key == '-') { in dialog_checklist()
219 if (key == KEY_UP || key == '-') { in dialog_checklist()
244 } else if (key == KEY_DOWN || key == '+') { in dialog_checklist()
286 switch (key) { in dialog_checklist()
306 button = ((key == KEY_LEFT ? --button : ++button) < 0) in dialog_checklist()
314 key = KEY_ESC; in dialog_checklist()
317 key = on_key_esc(dialog); in dialog_checklist()
331 return key; /* ESC pressed */ in dialog_checklist()