Subversion Repositories HelenOS

Compare Revisions

Regard whitespace Rev 4717 → Rev 4718

/branches/network/uspace/app/tester/console/console1.c
46,10 → 46,9
[COLOR_WHITE] = "white"
};
 
char * test_console1(bool quiet)
char *test_console1(void)
{
int i, j;
 
if (!test_quiet) {
printf("Style test: ");
fflush(stdout);
console_set_style(fphone(stdout), STYLE_NORMAL);
61,7 → 60,10
console_set_style(fphone(stdout), STYLE_NORMAL);
printf(".\n");
 
printf("Foreground color test:\n");
unsigned int i;
unsigned int j;
printf("\nForeground color test:\n");
for (j = 0; j < 2; j++) {
for (i = COLOR_BLACK; i <= COLOR_WHITE; i++) {
fflush(stdout);
74,7 → 76,7
putchar('\n');
}
 
printf("Background color test:\n");
printf("\nBackground color test:\n");
for (j = 0; j < 2; j++) {
for (i = COLOR_BLACK; i <= COLOR_WHITE; i++) {
fflush(stdout);
87,7 → 89,7
putchar('\n');
}
 
printf("Now let's test RGB colors:\n");
printf("\nRGB colors test:\n");
 
for (i = 0; i < 255; i += 16) {
fflush(stdout);
115,9 → 117,7
fflush(stdout);
console_set_color(fphone(stdout), COLOR_BLACK, COLOR_WHITE, 0);
putchar('\n');
}
 
printf("[press a key]\n");
getchar();
 
return NULL;
}