about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorPaul Ackersviller <packersv@users.sourceforge.net>2007-10-28 00:31:35 +0000
committerPaul Ackersviller <packersv@users.sourceforge.net>2007-10-28 00:31:35 +0000
commite7e158c642d5ffe9350451e5aee59fcf757267b6 (patch)
treef2a586c82ed91cf4d1f7bb6f9e063d4a2a473c59 /Src
parentfa6f8c609d5f2052f428b00eeda0334e67498c1d (diff)
downloadzsh-e7e158c642d5ffe9350451e5aee59fcf757267b6.tar.gz
zsh-e7e158c642d5ffe9350451e5aee59fcf757267b6.tar.xz
zsh-e7e158c642d5ffe9350451e5aee59fcf757267b6.zip
Merge of 22589: bug in menu selection when displaying long lines.
Diffstat (limited to 'Src')
-rw-r--r--Src/Zle/complist.c4
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) {