about summary refs log tree commit diff
path: root/Src/Zle
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-03 11:52:00 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-03 11:52:00 +0000
commit0d6350d65a856b74000393dd4c4f5453e8801444 (patch)
treee272f79cc8508c5d563f471f0255f6a3e2c51483 /Src/Zle
parentd981fc1316617c6e4f8c7dcba339dd6b1da1279f (diff)
downloadzsh-0d6350d65a856b74000393dd4c4f5453e8801444.tar.gz
zsh-0d6350d65a856b74000393dd4c4f5453e8801444.tar.xz
zsh-0d6350d65a856b74000393dd4c4f5453e8801444.zip
remove backslashes before `$' in _expand when `substitute' is unset; fix for clearing end-of-list lines in menu-selection (11110)
Diffstat (limited to 'Src/Zle')
-rw-r--r--Src/Zle/complist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c
index 527cd9825..f6a871f0f 100644
--- a/Src/Zle/complist.c
+++ b/Src/Zle/complist.c
@@ -985,7 +985,7 @@ compprintlist(int showall)
 	lastml = 0;
     }
     cl = (listdat.nlines > lines - nlnct - mhasstat ?
-	  lines - nlnct - mhasstat : listdat.nlines);
+	  lines - nlnct - mhasstat : listdat.nlines) - 1;
     mrestlines = lines - 1;
 
     if (cl < 2) {