Changeset 6484602 in mainline
- Timestamp:
- 2012-04-15T01:19:27Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 94f6df7
- Parents:
- 2d37006
- Location:
- uspace/app/top
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/top/screen.c
r2d37006 r6484602 462 462 } 463 463 464 static inline void print_help_head(void) 465 { 466 screen_style_inverted(); 467 printf("Help"); 468 screen_newline(); 469 screen_style_normal(); 470 } 471 464 472 static void print_help(void) 465 473 { … … 468 476 screen_get_size(&cols, &rows); 469 477 478 screen_newline(); 479 480 printf("Operation modes:"); 481 screen_newline(); 482 483 printf(" t .. tasks statistics"); 484 screen_newline(); 485 486 printf(" i .. IPC statistics"); 487 screen_newline(); 488 489 printf(" e .. exceptions statistics"); 490 screen_newline(); 491 492 printf(" a .. toggle display of all/hot exceptions"); 493 screen_newline(); 494 495 printf(" h .. this help screen"); 496 screen_newline(); 497 498 screen_newline(); 499 500 printf("Other keys:"); 501 screen_newline(); 502 503 printf(" q .. quit"); 504 screen_newline(); 505 470 506 sysarg_t col; 471 507 sysarg_t row; 472 508 screen_get_pos(&col, &row); 473 474 screen_newline();475 476 printf("Operation modes:");477 screen_newline();478 479 printf(" t .. tasks statistics");480 screen_newline();481 482 printf(" i .. IPC statistics");483 screen_newline();484 485 printf(" e .. exceptions statistics");486 screen_newline();487 488 printf(" a .. toggle display of all/hot exceptions");489 screen_newline();490 491 row += 6;492 509 493 510 while (row < rows) { … … 535 552 break; 536 553 case OP_HELP: 537 print_ tasks_head();554 print_help_head(); 538 555 print_help(); 539 556 } -
uspace/app/top/top.c
r2d37006 r6484602 398 398 break; 399 399 case 'h': 400 case '?': 400 401 op_mode = OP_HELP; 401 402 break;
Note:
See TracChangeset
for help on using the changeset viewer.