diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2006-08-07 15:45:19 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2006-08-07 15:45:19 +0000 |
commit | b85a444fe01e3953833e929361323fdd93dfcd48 (patch) | |
tree | 512278258de56261f5029fc6b534128a2d5d9cac | |
parent | 37f43513c50e3c7b3ed5eee4144d634ab5ca1c0a (diff) | |
download | zsh-b85a444fe01e3953833e929361323fdd93dfcd48.tar.gz zsh-b85a444fe01e3953833e929361323fdd93dfcd48.tar.xz zsh-b85a444fe01e3953833e929361323fdd93dfcd48.zip |
22589: bug with long lines in menu selection
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Src/Zle/complist.c | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 09816f462..8b5170d2a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c index 8c6937b4a..08cbb74af 100644 --- a/Src/Zle/complist.c +++ b/Src/Zle/complist.c @@ -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) { |