Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Console] Detect dimensions using mode CON if vt100 is supported #34085

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
Nov 5, 2019
Merged

[Console] Detect dimensions using mode CON if vt100 is supported #34085

merged 1 commit into from
Nov 5, 2019

Conversation

rtek
Copy link
Contributor

@rtek rtek commented Oct 23, 2019

Q A
Branch? 4.3
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #33915
License MIT

This fixes color support detection for users of Win10 + git-bash. If vt100 support is detected, the terminal will not try to use stty to test for dimensions. Calling such command implicitly disables vt100 support on STDOUT.

@nicolas-grekas nicolas-grekas added this to the 4.3 milestone Oct 23, 2019
@nicolas-grekas nicolas-grekas changed the title [Console] Fix #33915, Detect dimensions using mode CON if vt100 is supported [Console] Detect dimensions using mode CON if vt100 is supported Nov 5, 2019
@nicolas-grekas
Copy link
Member

Thank you @rtek.

nicolas-grekas added a commit that referenced this pull request Nov 5, 2019
…ported (rtek)

This PR was merged into the 4.3 branch.

Discussion
----------

[Console] Detect dimensions using mode CON if vt100 is supported

| Q             | A
| ------------- | ---
| Branch?       | 4.3
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix #33915
| License       | MIT

This fixes color support detection for users of Win10 + git-bash.  If vt100 support is detected, the terminal will not try to use `stty` to test for dimensions. Calling such command implicitly disables vt100 support on STDOUT.

Commits
-------

fdeceff [Console] Fix #33915, Detect dimensions using mode CON if vt100 is supported
@nicolas-grekas nicolas-grekas merged commit fdeceff into symfony:4.3 Nov 5, 2019
@fabpot fabpot mentioned this pull request Nov 11, 2019
chalasr pushed a commit to chalasr/symfony that referenced this pull request Nov 13, 2019
…N if vt100 is supported

This PR was merged into the 4.3 branch.

Discussion
----------

[Console] Detect dimensions using mode CON if vt100 is supported

| Q             | A
| ------------- | ---
| Branch?       | 4.3
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix symfony#33915
| License       | MIT

This fixes color support detection for users of Win10 + git-bash.  If vt100 support is detected, the terminal will not try to use `stty` to test for dimensions. Calling such command implicitly disables vt100 support on STDOUT.

Commits
-------

fdeceff [Console] Fix symfony#33915, Detect dimensions using mode CON if vt100 is supported
@chalasr
Copy link
Member

chalasr commented Nov 13, 2019

Should have been merged in 3.4, see #34346.

chalasr pushed a commit to chalasr/symfony that referenced this pull request Nov 13, 2019
…N if vt100 is supported

This PR was merged into the 4.3 branch.

Discussion
----------

[Console] Detect dimensions using mode CON if vt100 is supported

| Q             | A
| ------------- | ---
| Branch?       | 4.3
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix symfony#33915
| License       | MIT

This fixes color support detection for users of Win10 + git-bash.  If vt100 support is detected, the terminal will not try to use `stty` to test for dimensions. Calling such command implicitly disables vt100 support on STDOUT.

Commits
-------

fdeceff [Console] Fix symfony#33915, Detect dimensions using mode CON if vt100 is supported
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants