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: [RFC 2/3] Making ANSI terminal escape sequences work in TUI


>>>>> "Tom" == Tom Tromey <tom@tromey.com> writes:

Tom> This patch fixes the problem by adding a simple ANSI terminal sequence
Tom> parser to gdb.  These sequences are decoded and those that are
Tom> recognized are turned into the appropriate curses calls.

I've extended this to colorize the source display (and "list" output)
using GNU Source Highlight.  So I plan to push this series in soon, so I
can submit that.

GNU Source Highlight seems adequate, though under-maintained; it hasn't
had a release in a while and doesn't (gasp) have a Rust higlighter.  I'm
considering adding a Python API instead and switching to Pygments.  I
hate to lose the GNU connection, though.  Let me know what you think.

Tom


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