Lines Matching refs:key
108 int key = 0, button = 0, choice = 0, scroll = 0, max_choice; in dialog_checklist() local
195 while (key != KEY_ESC) { in dialog_checklist()
196 key = wgetch(dialog); in dialog_checklist()
200 if (toupper(key) == toupper(item_str()[0])) in dialog_checklist()
204 if (i < max_choice || key == KEY_UP || key == KEY_DOWN || in dialog_checklist()
205 key == '+' || key == '-') { in dialog_checklist()
206 if (key == KEY_UP || key == '-') { in dialog_checklist()
231 } else if (key == KEY_DOWN || key == '+') { in dialog_checklist()
273 switch (key) { in dialog_checklist()
293 button = ((key == KEY_LEFT ? --button : ++button) < 0) in dialog_checklist()
301 key = KEY_ESC; in dialog_checklist()
304 key = on_key_esc(dialog); in dialog_checklist()
318 return key; /* ESC pressed */ in dialog_checklist()