mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-22 00:21:27 +01:00
22589: bug with long lines in menu selection
This commit is contained in:
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) {
|
||||
|
|
Loading…
Reference in a new issue