Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
kovidgoyal committed Oct 29, 2023
1 parent 778adfc commit 47836f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kitty/boss.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 47836f5

Please sign in to comment.