From: Joey Hess Date: Tue, 26 Mar 2024 17:09:21 +0000 (-0400) Subject: Windows: Fix escaping output to terminal when using old versions of MinTTY X-Git-Tag: archive/raspbian/10.20250416-2+rpi1~1^2~25^2~54 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7c5007279c4b524d97865f6c02efd3f9b1706e3f;p=git-annex.git Windows: Fix escaping output to terminal when using old versions of MinTTY --- 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