...
This commit is contained in:
parent
0b3a5a7d45
commit
2d62e10a7e
@ -327,7 +327,7 @@ def main(args=sys.argv):
|
||||
signal.signal(signal.SIGWINCH, lambda: screen_size(refresh=True))
|
||||
if not sys.stdout.isatty() or not sys.stdin.isatty():
|
||||
raise SystemExit(
|
||||
'Must be run in a terminal, stdout is currently not a terminal'
|
||||
'Must be run in a terminal, stdout and/or stdin is currently not a terminal'
|
||||
)
|
||||
if screen_size().width == 0:
|
||||
if args.detect_support:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user