Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: escape sequences on windows powershell #234

Merged
merged 4 commits into from
Apr 5, 2021
Merged

fix: escape sequences on windows powershell #234

merged 4 commits into from
Apr 5, 2021

Conversation

jfatta
Copy link
Contributor

@jfatta jfatta commented Apr 5, 2021

Fix escape sequences for powershell. With this custom initialization for windows the newlines and colors are displayed properly. On the other hand, emojis are still missing due to a powershell default settings limitation according to this: https://stackoverflow.com/questions/49476326/displaying-unicode-in-powershell/49481797#49481797

before
image

after
image

@@ -13,6 +13,7 @@ require (
github.com/golang/mock v1.5.0
github.com/golang/snappy v0.0.3 // indirect
github.com/google/go-cmp v0.5.5
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

apparently we missed a go mod vendor from previous PRs

internal/cli/root.go Outdated Show resolved Hide resolved
jfatta and others added 2 commits April 5, 2021 20:04
Co-authored-by: Rita Zerrizuela <zeta@widcket.com>
Copy link
Contributor

@Widcket Widcket left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@jfatta jfatta merged commit 7e224d1 into main Apr 5, 2021
@jfatta jfatta deleted the fix-ps-ansi branch April 5, 2021 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants