Changeset 4412
- Timestamp:
- Aug 15, 2010, 1:18:43 PM (12 years ago)
- Location:
- neercs/trunk/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
neercs/trunk/src/Makefile.am
r4391 r4412 6 6 configuration.c mytrace.c mytrace.h input.c lock.c server.c \ 7 7 client.c screen_list.c help.c python/interpreter.c python/py_module.c \ 8 python/py_module.h widgets.c widgets.h ansi.c 8 python/py_module.h widgets.c widgets.h ansi.c actions.c 9 9 neercs_CFLAGS = @CACA_CFLAGS@ @PYTHON_CFLAGS@ 10 10 neercs_LDADD = @CACA_LIBS@ @MATH_LIBS@ @UTIL_LIBS@ @PAM_LIBS@ @PYTHON_LIBS@ -
neercs/trunk/src/effects.c
r4366 r4412 160 160 { 161 161 char text[256]; 162 sprintf(text, "Help: ctrl-a- h");162 sprintf(text, "Help: ctrl-a-?"); 163 163 caca_set_color_ansi(screen_list->cv, CACA_BLUE, CACA_BLUE); 164 164 while (x < -
neercs/trunk/src/help.c
r4366 r4412 26 26 int help_handle_key(struct screen_list *screen_list, unsigned int c) 27 27 { 28 if (c == CACA_KEY_ESCAPE || c == ' h')28 if (c == CACA_KEY_ESCAPE || c == '?') 29 29 { 30 30 screen_list->modals.help = 0; … … 69 69 caca_printf(screen_list->cv, x, y++, "d: Detach"); 70 70 caca_printf(screen_list->cv, x, y++, "k: Close window and kill associated process"); 71 caca_printf(screen_list->cv, x, y++, "h: This help"); 71 caca_printf(screen_list->cv, x, y++, "h: Dump screen into a file"); 72 caca_printf(screen_list->cv, x, y++, "?: This help"); 72 73 caca_printf(screen_list->cv, x, y++, ""); 73 74 caca_printf(screen_list->cv, x, y++, ""); -
neercs/trunk/src/input.c
r4366 r4412 162 162 break; 163 163 case 'h': 164 case 0x08: // CACA_KEY_CTRL_H: 165 dump_to_file(screen_list); 166 break; 164 167 case '?': 165 case 0x08: // CACA_KEY_CTRL_H:166 168 screen_list->modals.help = !screen_list->modals.help; 167 169 refresh = 1; -
neercs/trunk/src/neercs.h
r4366 r4412 383 383 void screensaver_flying_toasters_kill(struct screen_list *screen_list); 384 384 385 385 /* Actions */ 386 void dump_to_file(struct screen_list *screen_list); 386 387 387 388 /* Recurrents */
Note: See TracChangeset
for help on using the changeset viewer.