Changeset f4a8734 in mainline
- Timestamp:
- 2012-07-10T12:48:24Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 72cf064, f0348c8
- Parents:
- 550af2b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/console/prompt.c
r550af2b rf4a8734 47 47 bool console_prompt_display_all_hints(indev_t *indev, size_t hints) 48 48 { 49 ASSERT(indev); 50 ASSERT(hints > 0); 51 49 52 printf("Display all %zu possibilities? (y or n)", hints); 50 53 … … 74 77 bool console_prompt_more_hints(indev_t *indev, size_t *display_hints) 75 78 { 79 ASSERT(indev); 76 80 ASSERT(display_hints != NULL); 77 81 … … 81 85 /* Display a full page again? */ 82 86 if (continue_showing_hints == 'y' 83 84 87 || continue_showing_hints == 'Y' 88 || continue_showing_hints == ' ') { 85 89 *display_hints = MAX_TAB_HINTS - 1; 86 90 break; … … 89 93 /* Stop displaying hints? */ 90 94 if (continue_showing_hints == 'n' 91 92 93 95 || continue_showing_hints == 'N' 96 || continue_showing_hints == 'q' 97 || continue_showing_hints == 'Q') { 94 98 *display_hints = 0; 95 99 break;
Note:
See TracChangeset
for help on using the changeset viewer.