From e7e158c642d5ffe9350451e5aee59fcf757267b6 Mon Sep 17 00:00:00 2001 From: Paul Ackersviller Date: Sun, 28 Oct 2007 00:31:35 +0000 Subject: Merge of 22589: bug in menu selection when displaying long lines. --- Src/Zle/complist.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Src') 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) { -- cgit 1.4.1