+ statusline_addstr("Print All/Selected/Cancel (a/s/C)?");
+
+ switch( tolower(getch()) ) {
+ case 'a':
+ mode = ENUM_ALL;
+ break;
+ case 's':
+ if( !selected_items() ) {
+ statusline_msg("No selected items");
+ return;
+ }
+ mode = ENUM_SELECTED;
+ break;
+ default:
+ clear_statusline();
+ return;
+ }
+
+ clear_statusline();
+