An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

mintty

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.

Ecosystem
hackage.haskell.org
Latest Release
0.1.4
over 3 years ago
Versions
5
Downloads
30,209 total
Dependent Packages
3
Dependent Repos
30
Links
Registry hackage.haskell.org
Source Repository
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:hackage/mintty
spec
License BSD-3-Clause
First Release about 9 years ago
Last Synced 1 day ago
Repository
Stars 4 on GitHub
Forks 1 on GitHub
Rankings on hackage.haskell.org
Downloads Top 4.9%
Dependent packages Top 5.6%
Dependent repos Top 9.5%