This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Cygwin 3.0.7 on Windows 10: ANSI Escape Sequences not affecting color when run in Windows Terminal


When using windows terminal, programs using the C Functions provided
by cygwin1.dll to print to stdout (such as printf, puts), do not
render the text color as would be appropriate when using an ANSI
Escape sequence, such as "\033[38;2;255;0;0m". The functionality has
been confirmed on native linux with glibc, as well as when displaying
to mintty.exe. Additionally, the issue does not occur with native
windows executables performing the same task, linked with msvcrt as
the C library implementation, both run through windows command line
programs such as cmd.exe and powershell, and cygwin bash. The issue
seems to be a disparity between the handling of these escape sequences
in cygwin1.dll and in Windows Terminal as is noted in the issue filed
at https://github.com/microsoft/terminal/issues/2837.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]