Dont fail to output usage when less is not present

This commit is contained in:
Kovid Goyal
2022-08-15 14:04:06 +05:30
parent 2a7aa46b77
commit a7f0a471ed
2 changed files with 11 additions and 6 deletions

View File

@@ -30,6 +30,7 @@ is_freebsd: bool = 'freebsd' in _plat
is_running_from_develop: bool = False
RC_ENCRYPTION_PROTOCOL_VERSION = '1'
website_base_url = 'https://sw.kovidgoyal.net/kitty/'
default_pager_for_help = ('less', '-iRXF')
if getattr(sys, 'frozen', False):
extensions_dir: str = getattr(sys, 'kitty_run_data')['extensions_dir']