mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-09-28 15:01:21 +02:00
22611: bug scrolling wide completion list
This commit is contained in:
parent
45de69686b
commit
77321097e7
@ -1,3 +1,8 @@
|
||||
2006-08-15 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||
|
||||
* 22611: Src/Zle/complist.c: bug when scrolling completion
|
||||
list with line wider than screen.
|
||||
|
||||
2006-08-15 Clint Adams <clint@zsh.org>
|
||||
|
||||
* 22609: Completion/Unix/Command/_baz: complete for
|
||||
|
@ -1529,11 +1529,7 @@ clprintm(Cmgroup g, Cmatch *mp, int mc, int ml, int lastc, int width)
|
||||
}
|
||||
}
|
||||
if (!dolist(ml)) {
|
||||
int nc = printfmt(m->disp, 0, 0, 0);
|
||||
if (nc)
|
||||
mlprinted = (nc - 1) / columns;
|
||||
else
|
||||
mlprinted = 0;
|
||||
mlprinted = printfmt(m->disp, 0, 0, 0);
|
||||
return 0;
|
||||
}
|
||||
if (m->gnum == mselect) {
|
||||
|
Loading…
Reference in New Issue
Block a user