about summary refs log tree commit diff
path: root/Src/Zle
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2006-08-07 15:45:19 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2006-08-07 15:45:19 +0000
commitb85a444fe01e3953833e929361323fdd93dfcd48 (patch)
tree512278258de56261f5029fc6b534128a2d5d9cac /Src/Zle
parent37f43513c50e3c7b3ed5eee4144d634ab5ca1c0a (diff)
downloadzsh-b85a444fe01e3953833e929361323fdd93dfcd48.tar.gz
zsh-b85a444fe01e3953833e929361323fdd93dfcd48.tar.xz
zsh-b85a444fe01e3953833e929361323fdd93dfcd48.zip
22589: bug with long lines in menu selection
Diffstat (limited to 'Src/Zle')
-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 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) {