From 47836f5086307a707b0d6d167a06c4a80c6c0d7c Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 29 Oct 2023 08:50:27 +0530 Subject: [PATCH] ... --- kitty/boss.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kitty/boss.py b/kitty/boss.py index 5916116ef4d..a5d7a14d1f1 100644 --- a/kitty/boss.py +++ b/kitty/boss.py @@ -1962,12 +1962,12 @@ def create_special_window_for_show_error(self, title: str, msg: str, overlay_for if ec != (None, None, None): import traceback tb = traceback.format_exc() - cmd = [kitten_exe(), '__show_error__', kitten_exe(), '__show_error__', '--title', title] + cmd = [kitten_exe(), '__show_error__', '--title', title] env = {} env['KITTEN_RUNNING_AS_UI'] = '1' env['KITTY_CONFIG_DIRECTORY'] = config_dir return SpecialWindow( - cmd, + cmd, override_title=title, stdin=json.dumps({'msg': msg, 'tb': tb}).encode(), env=env, overlay_for=overlay_for,