From 7c5007279c4b524d97865f6c02efd3f9b1706e3f Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 26 Mar 2024 13:09:21 -0400 Subject: [PATCH] Windows: Fix escaping output to terminal when using old versions of MinTTY --- CHANGELOG | 2 ++ Utility/Terminal.hs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 4bc0f30158..ba57100e86 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -11,6 +11,8 @@ git-annex (10.20240228) UNRELEASED; urgency=medium prevented in most cases, it failed to prevent the case where two different repositories were sending the same content to the same repository. + * Windows: Fix escaping output to terminal when using old + versions of MinTTY. -- Joey Hess Tue, 27 Feb 2024 13:07:10 -0400 diff --git a/Utility/Terminal.hs b/Utility/Terminal.hs index d449ddda1e..5c0b5a6b8e 100644 --- a/Utility/Terminal.hs +++ b/Utility/Terminal.hs @@ -40,5 +40,5 @@ checkIsTerminal h = do then return (IsTerminal False) else do b' <- isMinTTYHandle h' - return (IsTerminal b) + return (IsTerminal b') #endif