From 0a260fb37c9b202565b0c912b50ca9327436cda7 Mon Sep 17 00:00:00 2001
From: Alessandro Rubini <rubini@gnudd.com>
Date: Thu, 21 Mar 2013 09:11:05 +0100
Subject: [PATCH] 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 <rubini@gnudd.com>
---
 shell/shell.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/shell/shell.c b/shell/shell.c
index ff7ed6e..fadb128 100644
--- a/shell/shell.c
+++ b/shell/shell.c
@@ -158,7 +158,6 @@ void shell_init()
 	env_init();
 	cmd_len = cmd_pos = 0;
 	state = SH_PROMPT;
-	mprintf("\033[2J\033[1;1H");
 }
 
 void shell_interactive()
-- 
GitLab