awscli cloudwatch logs tail ANSI color codes not being interpreted #13169

Open
opened 2026-01-31 03:35:29 +00:00 by claunia · 0 comments
Owner

Originally created by @costincaraivan on GitHub (Mar 24, 2021).

Windows Terminal version (or Windows build number)

Windows Terminal Version: 1.6.10571.0

Other Software

aws --version
aws-cli/2.1.19 Python/3.7.9 Windows/10 exe/AMD64 prompt/off

Cygwin
zsh

Steps to reproduce

  1. aws logs tail /aws/lambda/my-log-group

Expected Behavior

  1. 2021-03-24T21:23:41.766000+00:00 2021/03/24/[$LATEST] + colors should be visible in the console.

Actual Behavior

  1. ←[32m2021-03-24T21:25:48.784000+00:00←[0m ←[36m2021/03/24/[$LATEST] all over the place

For some reason Windows Terminal is not interpreting the ANSI escape codes, see the "Actual behavior".

Originally created by @costincaraivan on GitHub (Mar 24, 2021). ### Windows Terminal version (or Windows build number) Windows Terminal Version: 1.6.10571.0 ### Other Software aws --version aws-cli/2.1.19 Python/3.7.9 Windows/10 exe/AMD64 prompt/off Cygwin zsh ### Steps to reproduce 1. aws logs tail /aws/lambda/my-log-group ### Expected Behavior 2. `2021-03-24T21:23:41.766000+00:00 2021/03/24/[$LATEST]` + colors should be visible in the console. ### Actual Behavior 2. `←[32m2021-03-24T21:25:48.784000+00:00←[0m ←[36m2021/03/24/[$LATEST]` all over the place For some reason Windows Terminal is not interpreting the ANSI escape codes, see the "Actual behavior".
claunia added the Resolution-ExternalNeeds-Tag-Fix labels 2026-01-31 03:35:30 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#13169