From 4fcf5364d75a452a2c68a13909ae1ce34fd04cef Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Sun, 5 Jan 2020 15:28:25 +0100 Subject: [PATCH] User expects an empty input line, not a text that has to be deleted befopre writing --- src/winmain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/winmain.c b/src/winmain.c index 1de964375..d22bde1a3 100644 --- a/src/winmain.c +++ b/src/winmain.c @@ -1080,8 +1080,8 @@ static struct History_info *init_history(void) } { - /* Initialize history buffer with a greeting */ - static const char cmd_welcome[] = "# Welcome to ngspice!"; + /* Initialize history buffer with empty input line */ + static const char cmd_welcome[] = ""; (void) history_add(&p_hi, sizeof cmd_welcome - 1, cmd_welcome); }