Re:Show HN: Aquarium for Mac terminal
by detaro on Tuesday December 20, 2016 @12:52PM
(#13222155)
Works with some slight modifications under Python3 on windows in the default-cmd as well, but not flicker-free sadly.
I added colorama [0] for ANSI translation, used a new function to get the terminal size cross-plattform [1] and using Python 3 required a) print-functions and b) explicit integer division for values derived from WIDTH/HEIGHT, since the behaviour of / on ints changed)
I added colorama [0] for ANSI translation, used a new function to get the terminal size cross-plattform [1] and using Python 3 required a) print-functions and b) explicit integer division for values derived from WIDTH/HEIGHT, since the behaviour of / on ints changed)
[0] https://pypi.python.org/pypi/colorama
[1] https://docs.python.org/3/library/shutil.html#shutil.get_ter...