From 290ad05ea68d60e6eef92bc73893f8f977ab21b9 Mon Sep 17 00:00:00 2001 From: "Jeffrey C. Ollie" Date: Tue, 3 Feb 2026 09:53:04 -0600 Subject: [PATCH] fix fish shell integration when cancelling a command Cancelling a command should not send `OSC 133;A` as that starts a new line. Fixes #10544 --- .../fish/vendor_conf.d/ghostty-shell-integration.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shell-integration/fish/vendor_conf.d/ghostty-shell-integration.fish b/src/shell-integration/fish/vendor_conf.d/ghostty-shell-integration.fish index 22a10cdee..7568dd566 100644 --- a/src/shell-integration/fish/vendor_conf.d/ghostty-shell-integration.fish +++ b/src/shell-integration/fish/vendor_conf.d/ghostty-shell-integration.fish @@ -200,7 +200,7 @@ function __ghostty_setup --on-event fish_prompt -d "Setup ghostty integration" end # Setup prompt marking - function __ghostty_mark_prompt_start --on-event fish_prompt --on-event fish_cancel --on-event fish_posterror + function __ghostty_mark_prompt_start --on-event fish_prompt --on-event fish_posterror # If we never got the output end event, then we need to send it now. if test "$__ghostty_prompt_state" != prompt-start echo -en "\e]133;D\a"