Windows: Fix escaping output to terminal when using old versions of MinTTY
authorJoey Hess <joeyh@joeyh.name>
Tue, 26 Mar 2024 17:09:21 +0000 (13:09 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 26 Mar 2024 17:09:21 +0000 (13:09 -0400)
CHANGELOG
Utility/Terminal.hs

index 4bc0f30158d3a72320f81ac1dde002497a9f2c22..ba57100e86a669a43c25573992a3f63be95dcf77 100644 (file)
--- 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 <id@joeyh.name>  Tue, 27 Feb 2024 13:07:10 -0400
 
index d449ddda1e7afbac2a1affb0119ac99069b8996e..5c0b5a6b8ea19ba9a139108705941f3962512767 100644 (file)
@@ -40,5 +40,5 @@ checkIsTerminal h = do
                                then return (IsTerminal False)
                                else do
                                        b' <- isMinTTYHandle h'
-                                       return (IsTerminal b)
+                                       return (IsTerminal b')
 #endif