diff options
author | Paul Ackersviller <packersv@users.sourceforge.net> | 2007-10-28 00:31:35 +0000 |
---|---|---|
committer | Paul Ackersviller <packersv@users.sourceforge.net> | 2007-10-28 00:31:35 +0000 |
commit | e7e158c642d5ffe9350451e5aee59fcf757267b6 (patch) | |
tree | f2a586c82ed91cf4d1f7bb6f9e063d4a2a473c59 | |
parent | fa6f8c609d5f2052f428b00eeda0334e67498c1d (diff) | |
download | zsh-e7e158c642d5ffe9350451e5aee59fcf757267b6.tar.gz zsh-e7e158c642d5ffe9350451e5aee59fcf757267b6.tar.xz zsh-e7e158c642d5ffe9350451e5aee59fcf757267b6.zip |
Merge of 22589: bug in menu selection when displaying long lines.
-rw-r--r-- | Src/Zle/complist.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c index 7b1e6f3db..6a5fb3a74 100644 --- a/Src/Zle/complist.c +++ b/Src/Zle/complist.c @@ -1563,6 +1563,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) @@ -1572,6 +1574,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) { |