blob: d008dfbcd4e641807f4049821b646c3382e0c088 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
--- menu.c.orig 2005-10-25 22:04:01 UTC
+++ menu.c
@@ -29,11 +29,13 @@
#include "help.h"
#define MENU_LINES 12
-#define MENU_COLS 38
+#define MENU_COLS 45
#define MENU_CONTENTS \
"{[h]} online help\n" \
"{[r]} rename machine\n" \
+ "{[o]} toggle tag all machines (live only)\n" \
+ "{[O]} toggle tag all machines (live & dead)\n" \
"{[t]} tag all machines (live only)\n" \
"{[T]} tag all machines (live & dead)\n" \
"{[u]} untag all machines\n" \
@@ -100,6 +102,8 @@ void menu_show() {
}
break;
+ case 'o': machmgr_toggle_tag_all(true); break;
+ case 'O': machmgr_toggle_tag_all(false); break;
case 't': machmgr_tag_all(true); break;
case 'T': machmgr_tag_all(false); break;
case 'u': machmgr_untag_all(); break;
|