Minor program improvements
This commit is contained in:
@@ -21,7 +21,7 @@ void shell_install()
|
||||
}
|
||||
else if (strcmp(input_buffer, "help") == 0)
|
||||
{
|
||||
printf("This is the Blank Operating System\ndesigned for fun by xamidev\n\nCommand help:\n\n\thelp - shows this message\n\tpanic - makes the kernel panic\n\twords - generates random words\n\tprimes - computes prime numbers\n");
|
||||
printf("help\tpanic\twords\tprimes\trainbow\tclear\n");
|
||||
}
|
||||
else if (strcmp(input_buffer, "panic") == 0)
|
||||
{
|
||||
@@ -35,6 +35,14 @@ void shell_install()
|
||||
{
|
||||
program_primes();
|
||||
}
|
||||
else if (strcmp(input_buffer, "rainbow") == 0)
|
||||
{
|
||||
program_rainbow();
|
||||
}
|
||||
else if (strcmp(input_buffer, "clear") == 0)
|
||||
{
|
||||
program_clear();
|
||||
}
|
||||
else {
|
||||
printf("Unknown command %s\n", input_buffer);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user