about summary refs log tree commit diff
path: root/Src/Zle/complist.c
diff options
context:
space:
mode:
authorAndrey Borzenkov <bor@users.sourceforge.net>2003-05-05 06:07:04 +0000
committerAndrey Borzenkov <bor@users.sourceforge.net>2003-05-05 06:07:04 +0000
commitf318d64e3d255cafbef790e227126c45644fbe2b (patch)
treecd1047aae40d23102ede8b493ece1afcd5b4339b /Src/Zle/complist.c
parent48d0166c1c23443c662e10dc758b1a4662ba9110 (diff)
downloadzsh-f318d64e3d255cafbef790e227126c45644fbe2b.tar.gz
zsh-f318d64e3d255cafbef790e227126c45644fbe2b.tar.xz
zsh-f318d64e3d255cafbef790e227126c45644fbe2b.zip
18476: Fix menu selection on Linux console
Diffstat (limited to 'Src/Zle/complist.c')
-rw-r--r--Src/Zle/complist.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c
index 1640f9e9c..5190511bf 100644
--- a/Src/Zle/complist.c
+++ b/Src/Zle/complist.c
@@ -1556,7 +1556,7 @@ singledraw()
     mcc2 = singlecalc(&mc2, ml2, &lc2);
 
     if (md1)
-        tcmultout(TCDOWN, TCMULTDOWN, md1);
+        tc_downcurs(md1);
     if (mc1)
         tcmultout(TCRIGHT, TCMULTRIGHT, mc1);
     g = mgtab[ml1 * columns + mc1];
@@ -1565,7 +1565,7 @@ singledraw()
     putc('\r', shout);
 
     if (md2 != md1)
-        tcmultout(TCDOWN, TCMULTDOWN, md2 - md1);
+        tc_downcurs(md2 - md1);
     if (mc2)
         tcmultout(TCRIGHT, TCMULTRIGHT, mc2);
     g = mgtab[ml2 * columns + mc2];
@@ -1576,7 +1576,7 @@ singledraw()
     if (mstatprinted) {
         int i = lines - md2 - nlnct;
 
-        tcmultout(TCDOWN, TCMULTDOWN, i - 1);
+        tc_downcurs(i - 1);
         compprintfmt(NULL, 0, 1, 1, mline, NULL);
         tcmultout(TCUP, TCMULTUP, lines - 1);
     } else