This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 13/16] Make ANSI terminal escape sequences work in TUI
- From: Tom Tromey <tom at tromey dot com>
- To: Tom Tromey <tom at tromey dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 28 Dec 2018 12:42:42 -0700
- Subject: Re: [PATCH 13/16] Make ANSI terminal escape sequences work in TUI
- References: <20181128001435.12703-1-tom@tromey.com> <20181128001435.12703-14-tom@tromey.com>
>>>>> "Tom" == Tom Tromey <tom@tromey.com> writes:
Tom> PR tui/14126 notes that ANSI terminal escape sequences don't affect
Tom> the colors shown in the TUI. A simple way to see this is to try the
Tom> extended-prompt example from the gdb manual.
[...]
I found a bug in this patch:
Tom> + if (color.is_none ())
Tom> + *result = 1;
This should be -1, not 1.
Fixing this makes the output much less garish.
Tom