This commit is contained in:
Kovid Goyal
2017-11-27 15:37:13 +05:30
parent fd49d17591
commit 59243355f6

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