From d98b2612c00d8998d5f74e534aaff5262e0617f4 Mon Sep 17 00:00:00 2001 From: Martchus Date: Sat, 26 Sep 2020 20:39:41 +0200 Subject: [PATCH] Fix size for writing "Signal received" warning --- cli/helper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/helper.cpp b/cli/helper.cpp index a9e8619..baa80e6 100644 --- a/cli/helper.cpp +++ b/cli/helper.cpp @@ -87,7 +87,7 @@ void InterruptHandler::handler(int signum) if (EscapeCodes::enabled) { write(STDOUT_FILENO, "\e[1;33mWarning:\e[0m \e[1mSignal received, trying to abort ongoing process ...\e[0m\n", 84); } else { - write(STDOUT_FILENO, "Warning: Signal received, trying to abort ongoing process ...\n", 65); + write(STDOUT_FILENO, "Warning: Signal received, trying to abort ongoing process ...\n", 63); } // call custom handler