File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3
3
*
4
4
* Copyright (c) 2000-2005, PostgreSQL Global Development Group
5
5
*
6
- * $PostgreSQL: pgsql/src/bin/psql/prompt.c,v 1.40 2005/10/15 02:49:40 momjian Exp $
6
+ * $PostgreSQL: pgsql/src/bin/psql/prompt.c,v 1.41 2006/01/03 23:32:30 tgl Exp $
7
7
*/
8
8
#include "postgres_fe.h"
9
9
#include "prompt.h"
@@ -296,8 +296,8 @@ get_prompt(promptStatus_t status)
296
296
* characters in prompt strings must be marked as such, in
297
297
* order to properly display the line during editing.
298
298
*/
299
- buf [0 ] = '\001' ;
300
- buf [1 ] = ( * p == '[' ) ? RL_PROMPT_START_IGNORE : RL_PROMPT_END_IGNORE ;
299
+ buf [0 ] = ( * p == '[' ) ? RL_PROMPT_START_IGNORE : RL_PROMPT_END_IGNORE ;
300
+ buf [1 ] = '\0' ;
301
301
#endif /* USE_READLINE */
302
302
break ;
303
303
You can’t perform that action at this time.
0 commit comments