This commit is contained in:
Kovid Goyal
2017-12-01 12:16:16 +05:30
parent fd49d17591
commit 59243355f6
+4 -1
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