Skip to content

Commit

Permalink
fix(visio): fix wrong usage of outs() when HAVE_COLOR_VMSG is not def…
Browse files Browse the repository at this point in the history
…ined

and replace it with prints()
  • Loading branch information
holishing committed Dec 20, 2023
1 parent a88a01f commit 686e0e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion maple/visio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1441,7 +1441,7 @@ vmsg_body(
color =time(0)%6+31;
prints("\x1b[1;%dm%*s▏▎▍▌▋▊▉ \x1b[1;37m請按任意鍵繼續 \x1b[1;%dm▉\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);
Expand Down

0 comments on commit 686e0e3

Please sign in to comment.