Windows: Fix escaping output to terminal when using old versions of MinTTY

This commit is contained in:
Joey Hess 2024-03-26 13:09:21 -04:00
parent db95de6f2b
commit 7c5007279c
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 3 additions and 1 deletions

View file

@ -11,6 +11,8 @@ git-annex (10.20240228) UNRELEASED; urgency=medium
prevented in most cases, it failed to prevent the case where prevented in most cases, it failed to prevent the case where
two different repositories were sending the same content to two different repositories were sending the same content to
the same repository. 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 -- Joey Hess <id@joeyh.name> Tue, 27 Feb 2024 13:07:10 -0400

View file

@ -40,5 +40,5 @@ checkIsTerminal h = do
then return (IsTerminal False) then return (IsTerminal False)
else do else do
b' <- isMinTTYHandle h' b' <- isMinTTYHandle h'
return (IsTerminal b) return (IsTerminal b')
#endif #endif