This commit is contained in:
Kovid Goyal
2018-05-09 11:32:09 +05:30
parent d51a424b98
commit 683e5a4754
4 changed files with 27 additions and 22 deletions

View File

@@ -293,8 +293,8 @@ def wrap(text, limit=80):
def print_help_for_seq(seq, usage, message, appname):
from kitty.icat import screen_size
screen_size.changed = True
from kitty.utils import screen_size_function
screen_size = screen_size_function()
try:
linesz = min(screen_size().cols, 76)
except EnvironmentError: