derhuerst / vbb-stations-cli

Find and filter VBB stations from the command line.
https://github.com/derhuerst/vbb-stations-cli
ISC License
4 stars 0 forks source link

Invisible coordinates in pretty mode (iTerm, zsh, zprezto) #4

Closed JayBrown closed 8 years ago

JayBrown commented 8 years ago

I just noticed that the coordinates are not shown in my shell: http://i.imgur.com/FtynutH.png

They appear only when I select the line(s): http://i.imgur.com/e3huBnA.png

This is not a problem with OS X standard "Terminal" app using bash. http://i.imgur.com/GyxdXE6.png

The problem occurs in iTerm (latest version), using the zsh with zprezto. (Also occurs, when I switch to bash in iTerm.)

Weird. :)

derhuerst commented 8 years ago

I noticed there's two kinds of themes. One is applied by your shell/shell framework. fish, for example, seems to translate colors before sending them out. Also, terminal emulators (like iTerm) have themes which transform colors.

Will try to debug this, but I'm pretty sure, it's iTerms fault. 😁

derhuerst commented 8 years ago

vbb-stations-cli just calls chalk.gray to print the coords.