Add a keyboard shortcut to open the kitty shell

This commit is contained in:
Kovid Goyal
2018-04-06 14:59:13 +05:30
parent a97174a350
commit b64bceac7f
6 changed files with 34 additions and 7 deletions

View File

@@ -143,6 +143,8 @@ def run_cmd(global_opts, cmd, func, opts, items):
def real_main(global_opts):
readline.read_init_file()
print_help_for_seq.allow_pager = False
print('Welcome to the kitty shell!')
print('Use {} for assistance or {} to quit'.format(green('help'), green('exit')))
while True:
try: