Summary
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 system.
Versions
v0.1.2 :: 0/0.1.2 :: gentoo
- Modified
- License
- BSD
- Keywords
- ~amd64 ~x86
- USE flags
- doc hscolour profile
USE flags
General
Dependencies
dev-haskell / cabal : A framework for packaging Haskell software
dev-haskell / hscolour : Colourise Haskell code
Runtime Dependencies
Depending packages
dev-haskell / stack : The Haskell Tool Stack
Change logs
- Repository mirror & CI · gentoo
Merge updates from master - Jack Todaro · gentoo
dev-haskell/mintty: add package
Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Jack Todaro <solpeth@posteo.org> Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>