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:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user