Lines Matching refs:key
28 int key; in popup_menu__run() local
34 key = ui_browser__run(menu, 0); in popup_menu__run()
36 switch (key) { in popup_menu__run()
39 key = menu->index; in popup_menu__run()
45 key = -1; in popup_menu__run()
49 *keyp = key; in popup_menu__run()
50 key = menu->nr_entries; in popup_menu__run()
60 return key; in popup_menu__run()
78 int x, y, len, key; in ui_browser__input_window() local
132 key = ui__getch(delay_secs); in ui_browser__input_window()
133 while (key != K_TIMER && key != K_ENTER && key != K_ESC) { in ui_browser__input_window()
136 if (key == K_BKSPC) { in ui_browser__input_window()
144 buf[len] = key; in ui_browser__input_window()
146 SLsmg_write_char(key); in ui_browser__input_window()
155 key = K_ENTER; in ui_browser__input_window()
159 key = ui__getch(delay_secs); in ui_browser__input_window()
164 return key; in ui_browser__input_window()
249 int key; in __ui__warning() local
251 key = ui__question_window(title, s, "Press any key...", 0); in __ui__warning()
253 return key; in __ui__warning()