Module Name:    src
Committed By:   christos
Date:           Fri Jul 17 12:25:52 UTC 2009

Modified Files:
        src/lib/libedit/TEST: tc1.c

Log Message:
Use the proper prompt printing function.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/libedit/TEST/tc1.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libedit/TEST/tc1.c
diff -u src/lib/libedit/TEST/tc1.c:1.2 src/lib/libedit/TEST/tc1.c:1.3
--- src/lib/libedit/TEST/tc1.c:1.2	Tue Mar 31 13:38:27 2009
+++ src/lib/libedit/TEST/tc1.c	Fri Jul 17 08:25:52 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: tc1.c,v 1.2 2009/03/31 17:38:27 christos Exp $	*/
+/*	$NetBSD: tc1.c,v 1.3 2009/07/17 12:25:52 christos Exp $	*/
 
 /*-
  * Copyright (c) 1992, 1993
@@ -42,7 +42,7 @@
 #if 0
 static char sccsid[] = "@(#)test.c	8.1 (Berkeley) 6/4/93";
 #else
-__RCSID("$NetBSD: tc1.c,v 1.2 2009/03/31 17:38:27 christos Exp $");
+__RCSID("$NetBSD: tc1.c,v 1.3 2009/07/17 12:25:52 christos Exp $");
 #endif
 #endif /* not lint && not SCCSID */
 
@@ -146,7 +146,7 @@
 
 	el_set(el, EL_EDITOR, "vi");	/* Default editor is vi		*/
 	el_set(el, EL_SIGNAL, 1);	/* Handle signals gracefully	*/
-	el_set(el, EL_PROMPT, prompt, '\1');/* Set the prompt function	*/
+	el_set(el, EL_PROMPT_ESC, prompt, '\1');/* Set the prompt function */
 
 			/* Tell editline to use this history interface	*/
 	el_set(el, EL_HIST, history, hist);

Reply via email to