From 17b275b09827cbc95936c5700c8745c02a898783 Mon Sep 17 00:00:00 2001 From: CPunch Date: Sat, 9 Mar 2024 16:27:43 -0600 Subject: [PATCH] moved SELECT_UTF8() to the same line --- source/terml.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/terml.cpp b/source/terml.cpp index 772476b..ad420c3 100644 --- a/source/terml.cpp +++ b/source/terml.cpp @@ -242,8 +242,7 @@ void terml::setup_buffer() void terml::set_console_settings() { setvbuf(stdout, nullptr, _IOFBF, BUFSIZ * BUFSIZ); - printf(ALT_BUF() HIDE_CURSOR()); - printf(SELECT_UTF8()); + printf(ALT_BUF() HIDE_CURSOR() SELECT_UTF8()); fflush(stdout); set_console_settings_impl(); }