Turn off reflowing for Konsole >= 21.04 as well

See https://bugs.kde.org/show_bug.cgi?id=196998, https://invent.kde.org/utilities/konsole/-/merge_requests/321

Part of #7491.
This commit is contained in:
Fabian Homborg 2021-01-12 12:37:35 +01:00
parent d0167634e7
commit 48082daad4

View file

@ -251,6 +251,13 @@ function __fish_config_interactive -d "Initializations that should be performed
if string match -q -- 'alacritty*' $TERM
return
end
# Konsole since version 21.04(.00)
# Note that this is optional, but since we have no way of detecting it
# we go with the default, which is true.
if set -q KONSOLE_VERSION
and test "$KONSOLE_VERSION" -ge 210400 2>/dev/null
return
end
commandline -f repaint >/dev/null 2>/dev/null
end