diff options
Diffstat (limited to 'lib/libedit/vi.c')
-rw-r--r-- | lib/libedit/vi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libedit/vi.c b/lib/libedit/vi.c index a960e4290f6..475fdd33c09 100644 --- a/lib/libedit/vi.c +++ b/lib/libedit/vi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vi.c,v 1.12 2014/10/17 06:07:50 deraadt Exp $ */ +/* $OpenBSD: vi.c,v 1.13 2016/01/30 00:06:39 schwarze Exp $ */ /* $NetBSD: vi.c,v 1.33 2011/02/17 16:44:48 joerg Exp $ */ /*- @@ -601,14 +601,14 @@ vi_list_or_eof(EditLine *el, Int c) if (el->el_line.cursor == el->el_line.lastchar) { if (el->el_line.cursor == el->el_line.buffer) { - term_writec(el, c); /* then do a EOF */ + terminal_writec(el, c); /* then do a EOF */ return (CC_EOF); } else { /* * Here we could list completions, but it is an * error right now */ - term_beep(el); + terminal_beep(el); return (CC_ERROR); } } else { @@ -620,7 +620,7 @@ vi_list_or_eof(EditLine *el, Int c) /* * Just complain for now. */ - term_beep(el); + terminal_beep(el); return (CC_ERROR); #endif } |