diff --git a/kitty/shell.py b/kitty/shell.py index 35756077d..17f2af742 100644 --- a/kitty/shell.py +++ b/kitty/shell.py @@ -155,7 +155,10 @@ def real_main(global_opts): while True: try: - cmdline = input('🐱 ') + try: + cmdline = input('🐱 ') + except UnicodeEncodeError: + cmdline = input('kitty> ') except EOFError: break except KeyboardInterrupt: