From 15f8c7014f03876b3a256212b48859a4ea726c17 Mon Sep 17 00:00:00 2001 From: Bananymous Date: Mon, 17 Jun 2024 16:48:56 +0300 Subject: [PATCH] BAN: Add line endings to d{warn,error}ln --- BAN/include/BAN/Debug.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BAN/include/BAN/Debug.h b/BAN/include/BAN/Debug.h index 7adbf08d06..5ed01617cb 100644 --- a/BAN/include/BAN/Debug.h +++ b/BAN/include/BAN/Debug.h @@ -22,7 +22,7 @@ do { \ BAN::Formatter::print(__debug_putchar, "\e[33m"); \ BAN::Formatter::print(__debug_putchar, __VA_ARGS__); \ - BAN::Formatter::print(__debug_putchar, "\e[m"); \ + BAN::Formatter::print(__debug_putchar, "\e[m\r\n"); \ fflush(stddbg); \ } while(false) @@ -30,7 +30,7 @@ do { \ BAN::Formatter::print(__debug_putchar, "\e[31m"); \ BAN::Formatter::print(__debug_putchar, __VA_ARGS__); \ - BAN::Formatter::print(__debug_putchar, "\e[m"); \ + BAN::Formatter::print(__debug_putchar, "\e[m\r\n"); \ fflush(stddbg); \ } while(false)