Skip to content
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

fix color attribute in TTY and TTYTerminal to be more IOContext-like #25228

Merged
merged 1 commit into from
Dec 22, 2017

Conversation

stevengj
Copy link
Member

This PR is a small bugfix to #25067, which added a :color attribute to TTY (and TTYTerminal) via a get method that fetches Base.have_color. In order to act like IOContext, they also need getindex, in, and haskey, which are added in this PR with tests.

@stevengj
Copy link
Member Author

Will merge soon if there are no objections.

@StefanKarpinski StefanKarpinski merged commit 84b14ac into JuliaLang:master Dec 22, 2017
@stevengj stevengj deleted the colortty branch December 22, 2017 20: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