aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/fish.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/Library/Formula/fish.rb b/Library/Formula/fish.rb
index 8c121475d..4b6716693 100644
--- a/Library/Formula/fish.rb
+++ b/Library/Formula/fish.rb
@@ -87,3 +87,17 @@ index 34f25e1..b9afa51 100644
#
# Tell autoconf to create config.h header
+diff --git a/reader.cpp b/reader.cpp
+index f7f92e5..5f3758b 100644
+--- a/reader.cpp
++++ b/reader.cpp
+@@ -3035,6 +3035,9 @@ const wchar_t *reader_readline(void)
+
+ /* Since we just inserted a completion, don't immediately do a new autosugg
+ data->suppress_autosuggestion = true;
++
++ /* Trigger repaint (see #765) */
++ reader_repaint_if_needed();
+ }
+ }
+ else