From 2cf22596e7201b2eafa4b49564ce4324abd366b7 Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Fri, 22 Sep 2023 17:04:59 +0200 Subject: [PATCH] Disable reflow handling for WezTerm too Seems to work fine --- share/functions/__fish_config_interactive.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/functions/__fish_config_interactive.fish b/share/functions/__fish_config_interactive.fish index 67ae5e135..843c6ddbf 100644 --- a/share/functions/__fish_config_interactive.fish +++ b/share/functions/__fish_config_interactive.fish @@ -244,10 +244,10 @@ end" >$__fish_config_dir/config.fish # VTE reflows the text itself, so us doing it inevitably races against it. # Guidance from the VTE developers is to let them repaint. if set -q VTE_VERSION - # Same for alacritty + # Same for these terminals or string match -q -- 'alacritty*' $TERM - # Same for kitty or string match -q -- '*kitty' $TERM + or test "$TERM_PROGRAM" = WezTerm set -g fish_handle_reflow 0 else if set -q KONSOLE_VERSION and test "$KONSOLE_VERSION" -ge 210400 2>/dev/null