ghc-mintty - A reliable way to detect the presence of a MinTTY console on Windows

Property Value
Distribution openSUSE Leap 15.1
Repository openSUSE Oss all
Package filename ghc-mintty-0.1.2-lp151.1.2.x86_64.rpm
Package name ghc-mintty
Package version 0.1.2
Package release lp151.1.2
Package architecture x86_64
Package type rpm
Category Development/Libraries/Haskell
License BSD-3-Clause
Maintainer -
Download size 12.11 KB
Installed size 11.40 KB
MinTTY is a Windows-specific terminal emulator for the widely used Cygwin and
MSYS projects, which provide Unix-like environments for Windows.
MinTTY consoles behave differently from native Windows consoles (such as
'cmd.exe' or PowerShell) in many ways, and in some cases, these differences
make it necessary to treat MinTTY consoles differently in code.
The 'mintty' library provides a simple way to detect if your code in running in
a MinTTY console on Windows. It exports 'isMinTTY', which does the right thing
90% of the time (by checking if standard error is attached to MinTTY), and it
also exports 'isMinTTYHandle' for the other 10% of the time (when you want to
check is some arbitrary handle is attached to MinTTY). As you might expect,
both of these functions will simply return 'False' on any non-Windows operating


Package Version Architecture Repository
ghc-mintty - - -


Name Value - - - - - - -


Name Value
ghc-mintty = 0.1.2-lp151.1.2
ghc-mintty(x86-64) = 0.1.2-lp151.1.2 -


Type URL
Binary Package ghc-mintty-0.1.2-lp151.1.2.x86_64.rpm
Source Package ghc-mintty-0.1.2-lp151.1.2.src.rpm

Install Howto

Install ghc-mintty rpm package:

# zypper install ghc-mintty




2018-10-20 - Peter Simons <>
- Use https URL to refer to
2018-07-18 -
- Cosmetic: replace tabs with blanks, strip trailing white space,
and update copyright headers with spec-cleaner.
2018-05-14 -
- Update mintty to version 0.1.2.
* Only use the `Win32`-provided version of `isMinTTY` if building against
`Win32-2.5.3` to be certain that one avoids Trac #13431.
* Don't enable `Safe` on GHC 7.2.
2017-08-03 -
- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
2017-03-27 -
- Update to version 0.1.1 with cabal2obs.
2017-02-12 -
- Update to version 0.1 with cabal2obs.

See Also

Package Description
ghc-mintty-devel-0.1.2-lp151.1.2.x86_64.rpm Haskell mintty library development files
ghc-monad-control- Lift control operations, like exception catching, through monad transformers
ghc-monad-control-devel- Haskell monad-control library development files
ghc-monad-logger-0.3.30-lp151.1.4.x86_64.rpm A class of monads which can log messages
ghc-monad-logger-devel-0.3.30-lp151.1.4.x86_64.rpm Haskell monad-logger library development files
ghc-monad-loops-0.4.3-lp151.3.2.x86_64.rpm Monadic loops
ghc-monad-loops-devel-0.4.3-lp151.3.2.x86_64.rpm Haskell monad-loops library development files
ghc-monadloc-0.7.1-lp151.2.5.x86_64.rpm A class for monads which can keep a monadic call trace
ghc-monadloc-devel-0.7.1-lp151.2.5.x86_64.rpm Haskell monadloc library development files
ghc-mono-traversable- Type classes for mapping, folding, and traversing monomorphic containers
ghc-mono-traversable-devel- Haskell mono-traversable library development files
ghc-mtl-2.2.2-lp151.3.13.x86_64.rpm Haskell mtl library
ghc-mtl-devel-2.2.2-lp151.3.13.x86_64.rpm Haskell mtl library development files
ghc-mustache-2.3.0-lp151.1.4.x86_64.rpm A mustache template parser library
ghc-mustache-devel-2.3.0-lp151.1.4.x86_64.rpm Haskell mustache library development files