Skip Menu |

This queue is for tickets about the Tk-ExecuteCommand CPAN distribution.

Report information
The Basics
Id: 120020
Status: open
Priority: 0/
Queue: Tk-ExecuteCommand

People
Owner: Nobody in particular
Requestors: NHORNE [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.6
Fixed in: (no value)



Subject: Doesn't work with Term::ANSIColor
If the subprogram uses Term::ANSIColor, the escape sequence is displayed, rather than changing the colour of the output.
On 2017-01-28 15:34:30, NHORNE wrote: Show quoted text
> If the subprogram uses Term::ANSIColor, the escape sequence is > displayed, rather than changing the colour of the output.
Maybe it helps if you set $ENV{TERM} = "dumb" in the Tk::ExecuteCommand-using application, and don't use colored output in the subprogram if this environment variable is set. But maybe it would be rather simple to implement this missing feature --- just replacing Tk::ROText by Tk::ROTextANSIColor (this one seems to exist in CPAN) could help.