From b1b811c57f22048922636b8918dc5cb5bb58ee6b Mon Sep 17 00:00:00 2001 From: Martchus Date: Sun, 26 Jun 2022 11:04:23 +0200 Subject: [PATCH] Apply clang-format --- application/commandlineutils.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/commandlineutils.cpp b/application/commandlineutils.cpp index e1ae7b2..331ab74 100644 --- a/application/commandlineutils.cpp +++ b/application/commandlineutils.cpp @@ -95,16 +95,16 @@ bool handleVirtualTerminalProcessing() { // try to enable virtual terminal processing if (enableVirtualTerminalProcessing(STD_OUTPUT_HANDLE) && enableVirtualTerminalProcessing(STD_ERROR_HANDLE)) { - return true; + return true; } // disable use on ANSI escape codes otherwise if it makes sense const char *const msyscon = std::getenv("MSYSCON"); if (msyscon && std::strstr(msyscon, "mintty")) { - return false; // no need to disable escape codes if it is just mintty + return false; // no need to disable escape codes if it is just mintty } const char *const term = std::getenv("TERM"); if (term && std::strstr(term, "xterm")) { - return false; // no need to disable escape codes if it is some xterm-like terminal + return false; // no need to disable escape codes if it is some xterm-like terminal } return EscapeCodes::enabled = false; }