From 48082daad4053da9d5de952493bd02e57ad2b0d8 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Tue, 12 Jan 2021 12:37:35 +0100 Subject: [PATCH] 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. --- share/functions/__fish_config_interactive.fish | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/share/functions/__fish_config_interactive.fish b/share/functions/__fish_config_interactive.fish index 75930e5f0..7bd17dd52 100644 --- a/share/functions/__fish_config_interactive.fish +++ b/share/functions/__fish_config_interactive.fish @@ -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