1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-09-28 15:01:21 +02:00

22589: bug with long lines in menu selection

This commit is contained in:
Peter Stephenson 2006-08-07 15:45:19 +00:00
parent 37f43513c5
commit b85a444fe0
2 changed files with 9 additions and 0 deletions

@ -1,3 +1,8 @@
2006-08-07 Peter Stephenson <pws@csr.com>
* 22589: Src/Zle/complist.c: bug in menu selection when displaying
long lines.
2006-08-06 Clint Adams <clint@zsh.org>
* 22588: Completion/Unix/Command/_rake: handle targets

@ -1649,6 +1649,8 @@ singledraw()
g = mgtab[ml1 * columns + mc1];
clprintm(g, mtab[ml1 * columns + mc1], mcc1, ml1, lc1,
(g->widths ? g->widths[mcc1] : g->width));
if (mlprinted)
(void) tcmultout(TCUP, TCMULTUP, mlprinted);
putc('\r', shout);
if (md2 != md1)
@ -1658,6 +1660,8 @@ singledraw()
g = mgtab[ml2 * columns + mc2];
clprintm(g, mtab[ml2 * columns + mc2], mcc2, ml2, lc2,
(g->widths ? g->widths[mcc2] : g->width));
if (mlprinted)
(void) tcmultout(TCUP, TCMULTUP, mlprinted);
putc('\r', shout);
if (mstatprinted) {