Skip to content

Commit

Permalink
Check for bash on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jachris committed Jan 1, 2018
1 parent 764f63b commit b406e2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cook/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
windows = platform.system() == 'Windows'
lock = threading.RLock()

if windows:
if windows and not os.environ.get('TERM'):
import ctypes
import functools
stdout_id = ctypes.c_ulong(0xfffffff5)
Expand Down

0 comments on commit b406e2d

Please sign in to comment.