mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 13:53:10 +00:00
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:
parent
d0167634e7
commit
48082daad4
1 changed files with 7 additions and 0 deletions
|
@ -251,6 +251,13 @@ function __fish_config_interactive -d "Initializations that should be performed
|
||||||
if string match -q -- 'alacritty*' $TERM
|
if string match -q -- 'alacritty*' $TERM
|
||||||
return
|
return
|
||||||
end
|
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
|
commandline -f repaint >/dev/null 2>/dev/null
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue