Skip to content

add getColourSupport() #8

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 5 commits into from
May 5, 2018
Merged

add getColourSupport() #8

merged 5 commits into from
May 5, 2018

Conversation

Lynesth
Copy link
Contributor

@Lynesth Lynesth commented May 5, 2018

Return the number of colours the terminal can handle (usually something like 8 or 256).

Needed for php-school/cli-menu#104

Return the number of colours the terminal can handle (usually something like 8 or 256).
@codecov-io
Copy link

codecov-io commented May 5, 2018

Codecov Report

Merging #8 into master will increase coverage by 0.24%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master       #8      +/-   ##
============================================
+ Coverage      80.5%   80.74%   +0.24%     
- Complexity       83       85       +2     
============================================
  Files             7        7              
  Lines           159      161       +2     
============================================
+ Hits            128      130       +2     
  Misses           31       31
Impacted Files Coverage Δ Complexity Δ
src/UnixTerminal.php 70% <100%> (+0.76%) 43 <2> (+2) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f98c611...00ae900. Read the comment docs.

@AydinHassan AydinHassan merged commit 7d4983b into php-school:master May 5, 2018
@AydinHassan
Copy link
Member

AydinHassan commented May 5, 2018

Thanks @Lynesth - maybe we want to also add this to the interface

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