Commit 0a260fb3 authored by Alessandro Rubini's avatar Alessandro Rubini

shell: don't clear screen at start-up

Clearing the screen is in general bad practice: it hides information
for no advantage (ok, I can accept if for the "gui" interface).

In this case it removes from the user the build date.
Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 9ff25f86
...@@ -158,7 +158,6 @@ void shell_init() ...@@ -158,7 +158,6 @@ void shell_init()
env_init(); env_init();
cmd_len = cmd_pos = 0; cmd_len = cmd_pos = 0;
state = SH_PROMPT; state = SH_PROMPT;
mprintf("\033[2J\033[1;1H");
} }
void shell_interactive() void shell_interactive()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment