Lines Matching refs:key
108 int key = 0, button = 0, choice = 0, scroll = 0, max_choice; in dialog_checklist() local
194 while (key != KEY_ESC) { in dialog_checklist()
195 key = wgetch(dialog); in dialog_checklist()
199 if (toupper(key) == toupper(item_str()[0])) in dialog_checklist()
203 if (i < max_choice || key == KEY_UP || key == KEY_DOWN || in dialog_checklist()
204 key == '+' || key == '-') { in dialog_checklist()
205 if (key == KEY_UP || key == '-') { in dialog_checklist()
230 } else if (key == KEY_DOWN || key == '+') { in dialog_checklist()
272 switch (key) { in dialog_checklist()
292 button = ((key == KEY_LEFT ? --button : ++button) < 0) in dialog_checklist()
300 key = KEY_ESC; in dialog_checklist()
303 key = on_key_esc(dialog); in dialog_checklist()
317 return key; /* ESC pressed */ in dialog_checklist()