Re: [PATCH] kconfig/[mn]conf: handle backspace (^H) key

2019-03-29 Thread Masahiro Yamada
On Fri, Mar 29, 2019 at 5:16 PM Changbin Du wrote: > > On Fri, Mar 29, 2019 at 04:50:18PM +0900, Masahiro Yamada wrote: > > On Tue, Mar 26, 2019 at 12:16 AM Changbin Du wrote: > > > > > > Backspace is not working on some terminal emulators which do not send the > > > key code defined by

Re: [PATCH] kconfig/[mn]conf: handle backspace (^H) key

2019-03-29 Thread Changbin Du
On Fri, Mar 29, 2019 at 04:50:18PM +0900, Masahiro Yamada wrote: > On Tue, Mar 26, 2019 at 12:16 AM Changbin Du wrote: > > > > Backspace is not working on some terminal emulators which do not send the > > key code defined by terminfo. Terminals either send '^H' (8) or '^?' (127). > > But

Re: [PATCH] kconfig/[mn]conf: handle backspace (^H) key

2019-03-29 Thread Masahiro Yamada
On Tue, Mar 26, 2019 at 12:16 AM Changbin Du wrote: > > Backspace is not working on some terminal emulators which do not send the > key code defined by terminfo. Terminals either send '^H' (8) or '^?' (127). > But currently only '$?' is handled. Shall I fix '$?' to '^?' if it is a typo? >

[PATCH] kconfig/[mn]conf: handle backspace (^H) key

2019-03-25 Thread Changbin Du
Backspace is not working on some terminal emulators which do not send the key code defined by terminfo. Terminals either send '^H' (8) or '^?' (127). But currently only '$?' is handled. Let's also handle '^H' for those terminals. Signed-off-by: Changbin Du ---