Changes in uspace/app/tester/console/console1.c [9d58539:a35b458] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tester/console/console1.c
r9d58539 ra35b458 51 51 if (!test_quiet) { 52 52 console_ctrl_t *console = console_init(stdin, stdout); 53 53 54 54 printf("Style test: "); 55 55 console_flush(console); … … 68 68 console_set_style(console, STYLE_NORMAL); 69 69 printf("\n"); 70 70 71 71 unsigned int i; 72 72 unsigned int j; 73 73 74 74 printf("\nForeground color test:\n"); 75 75 for (j = 0; j < 2; j++) { … … 84 84 putchar('\n'); 85 85 } 86 86 87 87 printf("\nBackground color test:\n"); 88 88 for (j = 0; j < 2; j++) { … … 97 97 putchar('\n'); 98 98 } 99 99 100 100 printf("\nRGB colors test:\n"); 101 101 102 102 for (i = 0; i < 255; i += 16) { 103 103 console_flush(console); … … 108 108 console_set_color(console, COLOR_WHITE, COLOR_BLACK, 0); 109 109 putchar('\n'); 110 110 111 111 for (i = 0; i < 255; i += 16) { 112 112 console_flush(console); … … 117 117 console_set_color(console, COLOR_WHITE, COLOR_BLACK, 0); 118 118 putchar('\n'); 119 119 120 120 for (i = 0; i < 255; i += 16) { 121 121 console_flush(console); … … 127 127 putchar('\n'); 128 128 } 129 129 130 130 return NULL; 131 131 }
Note:
See TracChangeset
for help on using the changeset viewer.