Olivia5k / doge

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

accept words as input #22

Closed vemv closed 10 years ago

vemv commented 10 years ago

it'd be cool if the program displayed whatever words we pass to it

thank you doge

Olivia5k commented 10 years ago

I have actually been experimenting with that. Only problem is that the current terminal size detector uses the stty info from stdin, so if it is not a tty that code breaks. I'll be experimenting further the coming few days.

tonylazarew commented 10 years ago

fixed in my pull request, such wow

Olivia5k commented 10 years ago

As @tonylazarew mentions, this was fixed. Today I refactored it so that when given stdin, it will only use stdin and nothing else. Works like a charm. Update from pypi and you're good to go!

such close wow <3