Re: [PATCH v4] readline: make ctrl-u to work like linux console

2019-10-18 Thread Sascha Hauer
On Wed, Oct 16, 2019 at 11:56:44PM +0800, sendpa...@qq.com wrote: > From: DU HUANPENG > > currtly, the ctrl-u discards the whole line, in most linux > boxes, ctrl-u just erase characters before cursor to the > begginning of the line. this patch make ctrl-u to do this. > > Signed-off-by: DU HUANP

[PATCH v4] readline: make ctrl-u to work like linux console

2019-10-16 Thread sendpatch
From: DU HUANPENG currtly, the ctrl-u discards the whole line, in most linux boxes, ctrl-u just erase characters before cursor to the begginning of the line. this patch make ctrl-u to do this. Signed-off-by: DU HUANPENG --- lib/readline.c | 8 1 file changed, 8 insertions(+) diff --g