aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-stack.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-11-20 16:39:44 -0700
committerTom Tromey <tom@tromey.com>2019-12-20 08:49:52 -0700
commit364d710448e607e4ae9cb338583179dd6e734f0b (patch)
tree87c61fb765b44700eb9b71a832c4f87a51f9458d /gdb/tui/tui-stack.c
parentcda8d785b37cbcbe286675c48527f0b3e6233809 (diff)
downloadgdb-364d710448e607e4ae9cb338583179dd6e734f0b.zip
gdb-364d710448e607e4ae9cb338583179dd6e734f0b.tar.gz
gdb-364d710448e607e4ae9cb338583179dd6e734f0b.tar.bz2
Make isearch change readline prompt in TUI
PR tui/23619 points out that isearch changes the prompt in the CLI gdb (and in Bash) -- but not in the TUI. This turns out to be easily fixed by removing tui_rl_saved_prompt and instead using the prompt that readline computes. This is stored in rl_display_prompt, which according to git was added in readline 6.2. gdb/ChangeLog 2019-12-20 Tom Tromey <tom@tromey.com> PR tui/23619: * tui/tui-io.c (tui_rl_saved_prompt): Remove. (tui_redisplay_readline): Use rl_display_prompt. (tui_prep_terminal): Update. Change-Id: Iae97e9776a5540bbe52c73b05e4707941d9cd11a
Diffstat (limited to 'gdb/tui/tui-stack.c')
0 files changed, 0 insertions, 0 deletions