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.
This commit is contained in:
parent
e5ed89646b
commit
ce3976e1ec
1
xC.c
1
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");
|
||||
|
Loading…
Reference in New Issue
Block a user