diff options
| author | christos <christos@NetBSD.org> | 2005-08-02 12:11:14 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2005-08-02 12:11:14 +0000 |
| commit | 68d7e34555cd26577968a67b72a55cc9d1884b5d (patch) | |
| tree | 8043e1811c56a3df10730283a6cfe3169dd1783b /lib/libedit | |
| parent | 98532e5e3e15f33b8e90a5fe245d8c2b933834aa (diff) | |
On a fatal error, we want to stop processing the macro buffers.
Diffstat (limited to 'lib/libedit')
| -rw-r--r-- | lib/libedit/read.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libedit/read.c b/lib/libedit/read.c index ddf702a209b..610aac28194 100644 --- a/lib/libedit/read.c +++ b/lib/libedit/read.c @@ -1,4 +1,4 @@ -/* $NetBSD: read.c,v 1.38 2005/08/02 10:20:33 tron Exp $ */ +/* $NetBSD: read.c,v 1.39 2005/08/02 12:11:14 christos Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)read.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: read.c,v 1.38 2005/08/02 10:20:33 tron Exp $"); +__RCSID("$NetBSD: read.c,v 1.39 2005/08/02 12:11:14 christos Exp $"); #endif #endif /* not lint && not SCCSID */ @@ -577,7 +577,7 @@ el_gets(EditLine *el, int *nread) #endif /* DEBUG_READ */ /* put (real) cursor in a known place */ re_clear_display(el); /* reset the display stuff */ - ch_reset(el, 0); /* reset the input pointers */ + ch_reset(el, 1); /* reset the input pointers */ re_refresh(el); /* print the prompt again */ break; |
