From ea3f3ce459932a4e05cf51fe353acf7e90f36bae Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Sun, 27 Sep 2015 22:59:05 -0700 Subject: linenoise: backspace also causes parenthesis jump. * linenoise/linenoise.c (edit): Do paren_jump after backspace * txr.1: Documented. --- linenoise/linenoise.c | 1 + 1 file changed, 1 insertion(+) (limited to 'linenoise') diff --git a/linenoise/linenoise.c b/linenoise/linenoise.c index 57797178..cafa7e0a 100644 --- a/linenoise/linenoise.c +++ b/linenoise/linenoise.c @@ -1848,6 +1848,7 @@ static int edit(lino_t *l, const char *prompt) case BACKSPACE: /* backspace */ case CTL('H'): edit_backspace(l); + paren_jump(l); break; case CTL('D'): /* remove char at right of cursor, or if the line is empty, act as end-of-file. */ -- cgit v1.2.3