We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bfbe9a commit ea7a26cCopy full SHA for ea7a26c
src/bin/psql/psql.c
@@ -7,7 +7,7 @@
7
*
8
9
* IDENTIFICATION
10
- * $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.45 1997/01/02 07:07:32 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.46 1997/01/05 23:46:17 scrappy Exp $
11
12
*-------------------------------------------------------------------------
13
*/
@@ -401,7 +401,10 @@ gets_noreadline(char *prompt, FILE * source)
401
char *
402
gets_readline(char *prompt, FILE * source)
403
{
404
- return (readline(prompt));
+ char *s = readline(prompt);
405
+ fputc('\r', stdout);
406
+ fflush(stdout);
407
+ return s;
408
}
409
410
/*
0 commit comments