diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-10-25 10:52:25 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-10-25 10:52:25 +0000 |
commit | 6db6cde964ca152f3d83034695e0fe822c9e7011 (patch) | |
tree | 71107794c33d5869af2bd41a995d8b67dda36266 /Src/Zle | |
parent | 9e44b5ea29c073e553a86b5fe50b66e25437e375 (diff) | |
download | zsh-6db6cde964ca152f3d83034695e0fe822c9e7011.tar.gz zsh-6db6cde964ca152f3d83034695e0fe822c9e7011.tar.xz zsh-6db6cde964ca152f3d83034695e0fe822c9e7011.zip |
re-display list for cleanup only if we were in menu selection (13084)
Diffstat (limited to 'Src/Zle')
-rw-r--r-- | Src/Zle/complist.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c index 3e746b914..6982dc774 100644 --- a/Src/Zle/complist.c +++ b/Src/Zle/complist.c @@ -2270,7 +2270,12 @@ domenuselect(Hookdef dummy, Chdata dat) menucmp = 2; showinglist = -2; minfo.asked = 0; - zrefresh(); + if (!noselect) { + int nos = noselect; + + zrefresh(); + noselect = nos; + } } if (!noselect && (!dat || acc)) { showinglist = -2; |