diff --git a/include/indicators/cursor_control.hpp b/include/indicators/cursor_control.hpp index 6ddedee..2bfcb06 100755 --- a/include/indicators/cursor_control.hpp +++ b/include/indicators/cursor_control.hpp @@ -28,7 +28,7 @@ static inline void show_console_cursor(bool const show) { #else static inline void show_console_cursor(bool const show) { - std::fputs(show ? "\e[?25h" : "\e[?25l", stdout); + std::fputs(show ? "\033[?25h" : "\033[?25l", stdout); } #endif diff --git a/single_include/indicators/indicators.hpp b/single_include/indicators/indicators.hpp index 441e8b3..8d10892 100644 --- a/single_include/indicators/indicators.hpp +++ b/single_include/indicators/indicators.hpp @@ -1570,7 +1570,7 @@ static inline void show_console_cursor(bool const show) { #else static inline void show_console_cursor(bool const show) { - std::fputs(show ? "\e[?25h" : "\e[?25l", stdout); + std::fputs(show ? "\033[?25h" : "\033[?25l", stdout); } #endif