This is the mail archive of the gdb-patches@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]

Re: [PATCH 13/16] Make ANSI terminal escape sequences work in TUI


>>>>> "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


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