From b85a444fe01e3953833e929361323fdd93dfcd48 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 7 Aug 2006 15:45:19 +0000 Subject: 22589: bug with long lines in menu selection --- Src/Zle/complist.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Src/Zle/complist.c') 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) { -- cgit 1.4.1