From ce3976e1ec7efd5b7202a953874b91dd0cac1f30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Thu, 28 Oct 2021 08:49:01 +0200 Subject: [PATCH] xC: normalize ^J behaviour to follow Readline For some reason Editline inserts it verbatim, but in a more broken manner than it has with ^V^J. --- xC.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xC.c b/xC.c index 6264b8c..37783b7 100644 --- a/xC.c +++ b/xC.c @@ -13775,6 +13775,7 @@ app_editline_init (struct input_el *self) CALL_ (input, bind_control, 'q', "ed-redisplay"); // We need to hide the prompt and input first + CALL_ (input, bind, "\r", "send-line"); CALL_ (input, bind, "\n", "send-line"); CALL_ (input, bind_control, 'i', "complete");