Browse Source

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

pre-master-46
Holger Vogt 6 years ago
parent
commit
b1be546939
  1. 4
      src/winmain.c

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

Loading…
Cancel
Save