Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Check for Hyper terminal on all operating systems.#27831

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
nicolas-grekas merged 1 commit intosymfony:2.8fromazjezz:patch-1
Jul 4, 2018
Merged

Check for Hyper terminal on all operating systems.#27831

nicolas-grekas merged 1 commit intosymfony:2.8fromazjezz:patch-1
Jul 4, 2018

Conversation

azjezz
Copy link
Contributor

QA
Branch?2.8
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
LicenseMIT

return true if the terminal is Hyper.is on all operating systems not limited to windows.

@azjezz
Copy link
ContributorAuthor

@fabpot 👍

@nicolas-grekasnicolas-grekas added this to the2.8 milestoneJul 3, 2018
Copy link
Member

@chalasrchalasr left a comment

Choose a reason for hiding this comment

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

👍 once fabbot happy

@@ -225,14 +225,17 @@ private static function hasColorSupport()
if (!defined('STDOUT')) {
return false;
}


Copy link
Member

Choose a reason for hiding this comment

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

extra spaces here, blank line should be unchanged. See fabbot patch in the CI

if ('Hyper' === getenv('TERM_PROGRAM')) {
return true;
}

Copy link
Member

Choose a reason for hiding this comment

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

same

@azjezz
Copy link
ContributorAuthor

@chalasr 👍

@nicolas-grekas
Copy link
Member

Thank you@azjezz.

azjezz reacted with hooray emoji

@nicolas-grekasnicolas-grekas merged commit196e708 intosymfony:2.8Jul 4, 2018
nicolas-grekas added a commit that referenced this pull requestJul 4, 2018
This PR was squashed before being merged into the 2.8 branch (closes#27831).Discussion---------- Check for Hyper terminal on all operating systems.| Q             | A| ------------- | ---| Branch?       | 2.8| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| License       | MITreturn true if the terminal is Hyper.is on all operating systems not limited to windows.Commits-------196e708  Check for Hyper terminal on all operating systems.
This was referencedJul 23, 2018
fabpot added a commit that referenced this pull requestDec 8, 2023
… (theofidry)This PR was merged into the 5.4 branch.Discussion----------[Console] Fix color support check on non-Windows platforms| Q             | A| ------------- | ---| Branch?       | 6.4| Bug fix?      | yes| New feature?  | no| Deprecations? | no| Issues        |Fix#45917| License       | MITCurrently checking the color support based on `ANSICON`, `ConEmuANSI=ON` or `TERM=xTerm` is done only for Widows. I could not find any reason as to why and it does not make much sense as it is. Especially if we consider that `TERM=xTerm` is a term check and we do another one (not Widows specific) which is `TERM_PROGRAM=Hyper`.This potentiallyfixes#45917.This also looks more in line with the intent (based on the title) of#27831 and#27794.Commits-------285518d detect colors on not windows
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@chalasrchalasrchalasr approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
2.8
Development

Successfully merging this pull request may close these issues.

4 participants
@azjezz@nicolas-grekas@chalasr@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp