mirror of
https://github.com/cooperhammond/irs.git
synced 2024-12-22 17:35:28 +00:00
Fixed for windows
This commit is contained in:
parent
d751d80644
commit
4a40bb8dca
|
@ -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