This commit is contained in:
Kovid Goyal 2017-12-16 15:40:09 +05:30
parent 0b3a5a7d45
commit 2d62e10a7e
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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: