mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-10 04:41:15 -03: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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user