Send newline from use to stderr, just like the prompt. From Ted Percival.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23326 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-06-26 03:55:03 +00:00
parent fcf5432599
commit 7ecdb267fc

View File

@@ -116,7 +116,7 @@ read_string(const char *preprompt, const char *prompt,
*p = 0;
if(echo == 0){
printf("\n");
fprintf(stderr, "\n");
tcsetattr(fileno(tty), TCSANOW, &t_old);
}