Olivia5k / doge

wow very terminal doge
https://pypi.python.org/pypi/doge/
MIT License
961 stars 91 forks source link

Doesn't work properly under tmux #44

Closed ghost closed 10 years ago

ghost commented 10 years ago

see screenshot: http://i.imgur.com/3Vp80o1.png

Olivia5k commented 10 years ago

Doge was written in a tmux pane, so I'm quite sure it works with it! The problem here is that tmux is running in 88-color mode rather than 256-color mode. As you can see, 88-color doge looks fucking terrifying, haha.

Make sure that your terminal emulator and tmux are both set to use 256 colors. You can force tmux to use 256 colors temporarily by invoking it with tmux -2. Does that help?

ghost commented 10 years ago

Nah that didn't help Point was not the colours (which I find pretty oldschool lol) but this: http://i.imgur.com/0Q9UaGx.png Doge image gets 'teared' with tmux, while it is not 'teared' without. Also some text may (in tmux only) appear inside doge, which tears it even more. Poor doge.

On Thu, Jan 30, 2014 at 3:37 PM, Lowe Thiderman notifications@github.comwrote:

Doge was written in a tmux pane, so I'm quite sure it works with it! The problem here is that tmux is running in 88-color mode rather than 256-color mode. As you can see, 88-color doge looks fucking terrifying, haha.

Make sure that your terminal emulator and tmux are both set to use 256 colors. You can force tmux to use 256 colors temporarily by invoking it with tmux -2. Does that help?

— Reply to this email directly or view it on GitHubhttps://github.com/thiderman/doge/issues/44#issuecomment-33680194 .

ghost commented 10 years ago

Also oopsie, that happens in tmux version 1.5 but not in 1.8

On Thu, Jan 30, 2014 at 6:32 PM, Mikhail Krutov nekoxmachina@gmail.comwrote:

Nah that didn't help Point was not the colours (which I find pretty oldschool lol) but this: http://i.imgur.com/0Q9UaGx.png Doge image gets 'teared' with tmux, while it is not 'teared' without. Also some text may (in tmux only) appear inside doge, which tears it even more. Poor doge.

On Thu, Jan 30, 2014 at 3:37 PM, Lowe Thiderman notifications@github.comwrote:

Doge was written in a tmux pane, so I'm quite sure it works with it! The problem here is that tmux is running in 88-color mode rather than 256-color mode. As you can see, 88-color doge looks fucking terrifying, haha.

Make sure that your terminal emulator and tmux are both set to use 256 colors. You can force tmux to use 256 colors temporarily by invoking it with tmux -2. Does that help?

— Reply to this email directly or view it on GitHubhttps://github.com/thiderman/doge/issues/44#issuecomment-33680194 .

Olivia5k commented 10 years ago

Okay, so since this only happens in a tmux version that's almost three years old, I don't think there is any idea to put more time into see what can be done. The doge binary is just dutifully printing the lines as they are specified in code, and there is no spacing like that there. I'm not sure if there is anything to be done in code to prevent this, actually.

Also, sorry for the late conclusion to this issue, heh.