diff options
Diffstat (limited to 'lib/libedit/read.c')
-rw-r--r-- | lib/libedit/read.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/lib/libedit/read.c b/lib/libedit/read.c index ccfc88b8f59..2d1139c6e82 100644 --- a/lib/libedit/read.c +++ b/lib/libedit/read.c @@ -1,3 +1,5 @@ +/* $OpenBSD: read.c,v 1.2 1997/01/16 05:18:42 millert Exp $ */ + /*- * Copyright (c) 1992, 1993 * The Regents of the University of California. All rights reserved. @@ -35,9 +37,13 @@ */ #if !defined(lint) && !defined(SCCSID) +#if 0 static char sccsid[] = "@(#)read.c 8.1 (Berkeley) 6/4/93"; - +#else +static char rcsid[] = "$OpenBSD: read.c,v 1.2 1997/01/16 05:18:42 millert Exp $"; +#endif #endif /* not lint && not SCCSID */ + /* * read.c: Clean this junk up! This is horrible code. * Terminal read functions @@ -379,6 +385,11 @@ el_gets(el, nread) re_refresh_cursor(el); break; + case CC_REDISPLAY: + re_clear_lines(el); + re_clear_display(el); + /* FALLTHROUGH */ + case CC_REFRESH: el->el_state.argument = 1; el->el_state.doingarg = 0; |