| Copyright | (c) University of Glasgow 2006 |
|---|---|
| License | BSD-style (see the file LICENSE) |
| Maintainer | Esa Ilari Vuokko <[email protected]> |
| Stability | provisional |
| Portability | portable |
| Safe Haskell | Safe |
| Language | Haskell2010 |
A function to check if the current terminal uses MinTTY. Much of this code was originally authored by Phil Ruffwind and the git-for-windows project.
Returns True if the current process's standard error is attached to a MinTTY console (e.g., Cygwin or MSYS). Returns False otherwise.
isMinTTYHandle :: HANDLE -> IO Bool
Returns True is the given handle is attached to a MinTTY console (e.g., Cygwin or MSYS). Returns False otherwise.
© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).
https://downloads.haskell.org/~ghc/8.8.3/docs/html/libraries/Win32-2.6.1.0/System-Win32-MinTTY.html