[Bug tui/23619] isearch in readline does not change prompt in tui

cvs-commit at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Fri Dec 20 16:05:00 GMT 2019


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

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom Tromey <tromey@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=364d710448e607e4ae9cb338583179dd6e734f0b

commit 364d710448e607e4ae9cb338583179dd6e734f0b
Author: Tom Tromey <tom@tromey.com>
Date:   Wed Nov 20 16:39:44 2019 -0700

    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

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


More information about the Gdb-prs mailing list