gdb - Make color escape codes work in cgdb -


i have following function residing in ~/.gdbinit:

define foo     echo \033[34m     echo testing...\n     echo \033[0m end 

when running foo in gdb prints testing... in blue, however, when running in cgdb result is:

[34mtesting... [0m 

how can enable color escape codes in cgdb?

unfortunately, gdb "window" in cgdb not full-fledged terminal... can handle basic text i/o not render terminal escape sequences such colors, cursor movement, etc.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -