This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tui/15163] Vi settings within ~/.inputrc prevent entering/exiting TUI via C-x a


https://sourceware.org/bugzilla/show_bug.cgi?id=15163

--- Comment #5 from Memo Salas <memo.salas at gmail dot com> ---
I changed my workaround by to not hard-code a key combination for exiting the
tui mode, and instead pick up a key combination from the ~/.inputrc file, , by
modifying the function tui_initialize_readline to call rl_re_read_init_file (in
readline/bind.c) before returning.

My ~/.inputrc now has a keyboard mapping to associate to "tui-switch-mode".
Regardless, for a better out-of-the-box experience perhaps a better default for
vi key bindings is needed, at least for "tui-switch-mode", then things would
work without requiring users to modify ~/.inputrc or similar.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]