From 67572a6a7fa73602a8e9e092bcb8b42e3c89ff60 Mon Sep 17 00:00:00 2001 From: Jan Kasiak Date: Sat, 14 Sep 2013 01:39:48 -0400 Subject: fish: patch command line cycling repaint on tab completion Closes #22529. Signed-off-by: Adam Vandenberg --- Library/Formula/fish.rb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'Library/Formula/fish.rb') 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 -- cgit v1.2.3