Lines Matching refs:key
109 int key = 0, button = 0, choice = 0, scroll = 0, max_choice; in dialog_checklist() local
196 while (key != KEY_ESC) { in dialog_checklist()
197 key = wgetch(dialog); in dialog_checklist()
201 if (toupper(key) == toupper(item_str()[0])) in dialog_checklist()
205 if (i < max_choice || key == KEY_UP || key == KEY_DOWN || in dialog_checklist()
206 key == '+' || key == '-') { in dialog_checklist()
207 if (key == KEY_UP || key == '-') { in dialog_checklist()
232 } else if (key == KEY_DOWN || key == '+') { in dialog_checklist()
274 switch (key) { in dialog_checklist()
294 button = ((key == KEY_LEFT ? --button : ++button) < 0) in dialog_checklist()
302 key = KEY_ESC; in dialog_checklist()
305 key = on_key_esc(dialog); in dialog_checklist()
319 return key; /* ESC pressed */ in dialog_checklist()