aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/fish.rb
diff options
context:
space:
mode:
authorJan Kasiak2013-09-14 01:39:48 -0400
committerAdam Vandenberg2013-09-17 06:51:32 -0700
commit67572a6a7fa73602a8e9e092bcb8b42e3c89ff60 (patch)
tree9939eee3d208da6b47525fa18b40b543bd82238a /Library/Formula/fish.rb
parente92844619d3b4c80aab874eada058ffa8cdf599c (diff)
downloadhomebrew-67572a6a7fa73602a8e9e092bcb8b42e3c89ff60.tar.bz2
fish: patch command line cycling repaint on tab completion
Closes #22529. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/fish.rb')
-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