Comments (9)
Hmm, sposta work. Does Terminal work? Maybe iTerm is using a different term type and blessings is screwing up.
from conway.
iTerm2 1.0.0.20110907 works for me. My typical zsh setup and a virgin OS X one do, too. Hmm! I really wish I could reproduce this.
from conway.
It even works with Solarized Dark, from http://www.iterm2.com/hostedcolors/Solarized%20Dark.itermcolors. (There doesn't seem to be a built-in Solarized preset.)
from conway.
I wonder if your term is black and white (or thinks it is). Right now I'm just printing spaces with background colors and not doing any testing to see whether color is, in fact, available. If you replace ' ' with '#' in the code, what happens?
from conway.
I'm using solarized dark.
In OSX terminal the terminal clears, and then the cursor appears and bounces erratically between 4 or 5 arbitrary positions. Maybe it's something about my python set up?
from conway.
What version of iTerm? I tried the recent beta.
from conway.
I'm still curious about the # thing above. And what does this tell you?
from blessings import Terminal
Terminal().number_of_colors
I get 256. I wonder if you get 0.
from conway.
Using iTerm2 Build 1.0.0.20120203
>>> from blessings import Terminal
>>> Terminal().number_of_colors
8
with OSX Terminal Version 2.2.3 (303.2) and TerminalColours (v1.0) plugin
>>> from blessings import Terminal
>>> Terminal().number_of_colors
8
>>>
from conway.
That's it. :-) I'm using all high-ANSI colors, beyond the range of what your terminal supports. I'll make it smarter.
from conway.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from conway.