[Bug gdb/21689] artifacts in prompt rendering when using colors

hi-angel at yandex dot ru sourceware-bugzilla@sourceware.org
Mon Apr 2 05:43:00 GMT 2018


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

--- Comment #5 from Hi-Angel <hi-angel at yandex dot ru> ---
(In reply to Hi-Angel from comment #4)
> (In reply to Tom Tromey from comment #3)
> > Try this instead:
> > 
> > (gdb) set extended-prompt \[\e[31m\]gdb λ \[\e[0m\]
> > 
> > 
> > You can see the available escapes using "help set extended-prompt"
> 
> Jesus Christ, this is amazing, it works! It does even work with "echo hello"
> like in the other bug you commented on!

Ah, nvm about the other bug — I mistested. But the problem at hands it does
solve!

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


More information about the Gdb-prs mailing list