Skip Menu |

This queue is for tickets about the Win32-Console-ANSI CPAN distribution.

Report information
The Basics
Id: 106872
Status: resolved
Priority: 0/
Queue: Win32-Console-ANSI

People
Owner: jl_morel [...] bribes.org
Requestors: h.huzen [...] belastingdienst.nl
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 1.10



Subject: Bug/request: support for \e[39m
Date: Fri, 4 Sep 2015 10:19:48 +0200
To: bug-Win32-Console-ANSI [...] rt.cpan.org
From: h.huzen [...] belastingdienst.nl
Hello, I would like to file a request for Win32::Console::ANSI to add support for \e[39m . I am using Win32-Console-ANSI-1.09. I came across a situation where color-enabled tooling (karma javascript testengine) uses the sequence \e[39m at the end off a colored textstring to reset the color settings. That sequence means 'Default text color (foreground)'. This sequence is not supported by the Win32-Console-ANSI module. It may be open to interpretation, but in my opion it is better to handle this sequence as \e[0m (a reset) than to do nothing. I patched it in my copy of ANSI.xs and that works fine for me. Kind regards & thanks for your contribution to open source! Harrie Huzen Dutch Tax Office ------------------------------------------------------------------------ De Belastingdienst stelt e-mail niet open voor aanvragen, aangiften, bezwaarschriften, verzoeken, klachten, ingebrekestellingen en soortgelijke formele berichten. Dit bericht is uitsluitend bestemd voor de geadresseerde. Het bericht kan vertrouwelijke informatie bevatten waarvoor de fiscale geheimhoudingsplicht geldt. Als u dit bericht per abuis hebt ontvangen, wordt u verzocht het te verwijderen en de afzender te informeren. The Dutch Tax and Customs Administration does not accept filings, requests, appeals, complaints, notices of default or similar formal notices, sent by email. This message is solely intended for the addressee. It may contain information that is confidential and legally privileged. If you are not the intended recipient please delete this message and notify the sender.
I added the esc seq \e[39m and \e[49m to version 1.10 Thank you for your contribution