Colorize output in plugin

Asked by Ondrej

Hello,
I'm trying to customize a url_handler plugin to colorize terminal output (especially the prompt when connected to a non-colorized host via ssh).
When the callback returns text highlighted (underlined) by escape sequences, it has no effect
> return(r'\033[4mThis is underlined text.\033[0m')

Is there a way to enable escape sequences (similar to `echo -e`) in plugins?

Thanks!
Ondrej

Question information

Language:
English Edit question
Status:
Expired
For:
Terminator Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.