This commit is contained in:
Kovid Goyal 2017-11-27 15:37:13 +05:30
parent fd49d17591
commit 59243355f6
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -245,7 +245,10 @@ def wrap(text, limit=80):
def print_help_for_seq(seq):
from kitty.icat import screen_size
linesz = min(screen_size().cols, 76)
try:
linesz = min(screen_size().cols, 76)
except EnvironmentError:
linesz = 76
blocks = []
a = blocks.append