Skip to content

Enable VT100 Sequences on Windows #2350

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
Sep 25, 2019

Conversation

gmittert
Copy link
Contributor

By default, Windows doesn't interpret VT100 sequences.

Previously:

☐[31m☐[1merror: ☐[0munknown option --bin-path; use --help to list available options

Now (pretending error is in red):

error: unknown option --bin-path; use --help to list available options

By default, Windows doesn't interpret VT100 sequences.

Previously:
```
☐[31m☐[1merror: ☐[0munknown option --bin-path; use --help to list available options
```
Now (pretending error is in red):
```
error: unknown option --bin-path; use --help to list available options
```
@aciidgh
Copy link
Contributor

aciidgh commented Sep 24, 2019

Thanks! Is there an easy way to test this?

Copy link
Contributor

@jakepetroules jakepetroules left a comment

Choose a reason for hiding this comment

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

Thanks!

@gmittert
Copy link
Contributor Author

Thanks! Is there an easy way to test this?

I suppose a case that prints some text then checks the ConsoleMode might do it. However, I haven't got the tests working yet, so I wouldn't actually be able to check if the tests work...

@aciidgh
Copy link
Contributor

aciidgh commented Sep 24, 2019

Cool, maybe we can add a test later.

@aciidgh
Copy link
Contributor

aciidgh commented Sep 24, 2019

@swift-ci smoke test

@aciidgh aciidgh merged commit 3485604 into swiftlang:master Sep 25, 2019
@gmittert gmittert deleted the ICanSeeClearlyNow branch September 25, 2019 19:58
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.

3 participants