From 686e0e3368baba9cfa559681094c1a4c6273c9e6 Mon Sep 17 00:00:00 2001 From: holishing Date: Wed, 20 Dec 2023 19:52:10 +0800 Subject: [PATCH] fix(visio): fix wrong usage of outs() when HAVE_COLOR_VMSG is not defined and replace it with prints() --- maple/visio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maple/visio.c b/maple/visio.c index cf60b4430..43453f537 100644 --- a/maple/visio.c +++ b/maple/visio.c @@ -1441,7 +1441,7 @@ vmsg_body( color =time(0)%6+31; prints("\x1b[1;%dm%*s¢j¢k¢l¢m¢n¢o¢p \x1b[1;37m½Ð«ö¥ô·NÁäÄ~Äò \x1b[1;%dm¢p\x1b[m ", color, d_cols + 47, "", color); #else - outs(VMSG_NULL, (d_cols >> 1) + 30, "", (d_cols+1 >> 1) + 29, ""); + prints(VMSG_NULL, (d_cols >> 1) + 30, "", (d_cols+1 >> 1) + 29, ""); #endif #ifdef M3_USE_PFTERM move(b_lines, 0);