mirror of
https://github.com/cooperhammond/irs.git
synced 2025-03-22 16:15:05 +00:00
Fixed for windows
This commit is contained in:
parent
431ed17b83
commit
e00852bb54
|
@ -204,7 +204,10 @@ class DLog:
|
|||
# ===========================================
|
||||
# (It's for the CLI)
|
||||
|
||||
COLS = int(os.popen('tput cols').read().strip("\n"))
|
||||
try:
|
||||
COLS = int(os.popen('tput cols').read().strip("\n"))
|
||||
except:
|
||||
COLS = 80
|
||||
|
||||
if sys.version_info[0] == 2:
|
||||
def input(string):
|
||||
|
|
Loading…
Reference in a new issue