8000 Windows escape sequence fix by grouville · Pull Request #1674 · dagger/dagger · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Windows escape sequence fix #1674

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

Merged
merged 1 commit into from
Mar 10, 2022
Merged

Windows escape sequence fix #1674

merged 1 commit into from
Mar 10, 2022

Conversation

grouville
Copy link
Member

Our logger wasn't entirely compatible with Windows escape sequences when not in TTY mode. This fix changes the stderr to a Windows compatible fd that automatically takes that into account.

Signed-off-by: guillaume guillaume.derouville@gmail.com

@grouville
Copy link
Member Author

Fixes #1594

@netlify
Copy link
netlify bot commented Mar 2, 2022

✔️ Deploy Preview for devel-docs-dagger-io ready!

🔨 Explore the source changes: 5265591

🔍 Inspect the deploy log: https://app.netlify.com/sites/devel-docs-dagger-io/deploys/6228a6ae1da7b30008db6ea5

😎 Browse the preview: https://deploy-preview-1674--devel-docs-dagger-io.netlify.app

@grouville
Copy link
Member Author

Result: 100% compatibility

Capture d’écran 2022-03-02 à 12 11 19

Capture d’écran 2022-03-02 à 12 11 34

Our logger wasn't entirely compatible with Windows escape sequences when not in TTY mode. This fix changes the stderr to one that automatically transforms the escape sequences to some Windows compatible ones.

Signed-off-by: guillaume <guillaume.derouville@gmail.com>
@grouville
Copy link
Member Author
grouville commented Mar 9, 2022

Failing test seems to be unrelated

Your comments are relevant. I rebased and applied them. It still fixes the issue, as expected:
image

image

@grouville grouville requested a review from aluzzardi March 9, 2022 14:00
@aluzzardi aluzzardi merged commit 80850e1 into dagger:main Mar 10, 2022
@aluzzardi aluzzardi deleted the windows-logs branch March 10, 2022 01:12
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
0