User expects an empty input line, not a text that has to be deleted befopre writing

This commit is contained in:
Holger Vogt 2020-01-05 15:28:25 +01:00
parent 047dbc4765
commit 4fcf5364d7
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}