video-to-ascii
video-to-ascii copied to clipboard
Fix windows compatibility
Some incompatibilities do not allow this tool to run correctly on windows. I will list some of them:
- [ ] The
stty size
command is used to obtain the terminal's size, which generates the unknown command error in windows.
maybe it's better to add an option to specifiy max width and max height?
Actually, using os.get_terminal_size()
can return a tuple of the console window's columns and lines, which can be useful for windows porting.
>>> import os
>>> os.get_terminal_size()
os.terminal_size(columns=160, lines=40)
@creativegamer03 do you think you can do a PR with that?
@creativegamer03 do you think you can do a PR with that?
idk... I'll try tho..