more typing work

This commit is contained in:
Kovid Goyal
2020-03-09 16:13:00 +05:30
parent c817ba9eae
commit ac2c21e046
14 changed files with 143 additions and 88 deletions

View File

@@ -164,17 +164,17 @@ def real_main(global_opts):
while True:
try:
try:
cmdline = input('🐱 ')
scmdline = input('🐱 ')
except UnicodeEncodeError:
cmdline = input('kitty> ')
scmdline = input('kitty> ')
except EOFError:
break
except KeyboardInterrupt:
print()
continue
if not cmdline:
if not scmdline:
continue
cmdline = shlex.split(cmdline)
cmdline = shlex.split(scmdline)
cmd = cmdline[0].lower()
try: