This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
color prompt is broken under TUI mode
- From: kamaraju kusumanchi <raju dot mailinglists at gmail dot com>
- To: "gdb at sourceware dot org" <gdb at sourceware dot org>
- Date: Fri, 6 Mar 2015 21:17:44 -0500
- Subject: color prompt is broken under TUI mode
- Authentication-results: sourceware.org; auth=none
When gdb is started under the TUI mode, I am not able to set the
prompt in color. For example, I did
rajulocal@hogwarts ~ % ~/software/myroot/gdb-7.9/bin/gdb --tui -q
(gdb) set prompt \033[0;33m(gdb) \033[0m
which shows the prompt as
^[[0;33m(gdb) ^[[0m
However, if gdb is started in the normal mode without the --tui
option, then the prompt changes to yellow color as expected.
Is this a known issue or should I report this as a bug? Are there any
work arounds available?
I am using gdb 7.9 on a machine running Debian Testing.
thanks
raju
--
Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog