Disable reflow handling for WezTerm too

Seems to work fine
This commit is contained in:
Fabian Boehm 2023-09-22 17:04:59 +02:00
parent 4d2f7b0c0d
commit 2cf22596e7

View file

@ -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