aboutsummaryrefslogtreecommitdiff
path: root/chared.c
diff options
context:
space:
mode:
Diffstat (limited to 'chared.c')
-rw-r--r--chared.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/chared.c b/chared.c
index a3121da80259..4d9bdae00699 100644
--- a/chared.c
+++ b/chared.c
@@ -1,4 +1,4 @@
-/* $NetBSD: chared.c,v 1.24 2005/08/01 23:00:15 christos Exp $ */
+/* $NetBSD: chared.c,v 1.25 2005/08/08 01:41:30 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)chared.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: chared.c,v 1.24 2005/08/01 23:00:15 christos Exp $");
+__RCSID("$NetBSD: chared.c,v 1.25 2005/08/08 01:41:30 christos Exp $");
#endif
#endif /* not lint && not SCCSID */
@@ -523,6 +523,8 @@ ch_reset(EditLine *el, int mclear)
el->el_state.argument = 1;
el->el_state.lastcmd = ED_UNASSIGNED;
+ el->el_history.eventno = 0;
+
if (mclear)
ch__clearmacro(el);
}