fix terminal resizing making progress bar go crazy

This commit is contained in:
Nick Sweeting 2019-03-26 05:30:23 -04:00
parent 63abc8980c
commit 4f8c99011a
2 changed files with 4 additions and 3 deletions

View file

@ -77,7 +77,7 @@ USE_WGET = FETCH_WGET or FETCH_WGET_REQUISITES or FETCH_WARC
try:
### Terminal Configuration
TERM_WIDTH = shutil.get_terminal_size((100, 10)).columns
TERM_WIDTH = lambda: shutil.get_terminal_size((100, 10)).columns
ANSI = {
'reset': '\033[00;00m',
'lightblue': '\033[01;30m',