Skip to content

Fix terminal bug in WSL

Latest
Compare
Choose a tag to compare
@tusharsadhwani tusharsadhwani released this 17 Jul 15:15
· 6 commits to master since this release

Moved to shutil.get_terminal_size() from os.get_terminal_size() as:

  • piping pyleet data through another program would crash on WSL using the os version, works with shutil
  • shutil works while piping the output to a file instead of on the terminal, os doesn't.