about summary refs log tree commit diff
path: root/Completion/Core/_main_complete
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Core/_main_complete')
-rw-r--r--Completion/Core/_main_complete3
1 files changed, 2 insertions, 1 deletions
diff --git a/Completion/Core/_main_complete b/Completion/Core/_main_complete
index bb10706d8..a9a1d2a9a 100644
--- a/Completion/Core/_main_complete
+++ b/Completion/Core/_main_complete
@@ -194,7 +194,8 @@ if [[ $compstate[old_list] = keep || nm -gt 1 ]]; then
         zmodload -i zsh/complist
         MENUSELECT=0
       fi
-    else
+    fi
+    if [[ "$MENUSELECT" != 0 ]]; then
       sel=( "${(@M)_menu_style:#select*}" )
 
       if (( $#sel )); then