Packages / openSUSE Leap 15.6 / Source / ghc-mintty

Source Package: ghc-mintty (0.1.3-bp156.3.3)

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

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.

Package information

Homepage
[https://hackage.haskell.org/package/mintty]
License
BSD-3-Clause
Downstream package maintainer
Unknown: not reported in the indexed source

The following binary packages are built from this source package:

  • ghc-mintty

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

  • ghc-mintty-devel

    Haskell mintty library development files

Known vulnerabilities

No matching advisories in the tracked sources.

Last synced:

[CVE catalog]

Sources

  • Authoritative source; repository metadata signature verified

    Signature evidence

    leap-15-6-oss-multiarch:ca2653101b9afba6656aea529109ba0c0f1ca1a92aa8614e7c887fda5264c230

    Repository-signature verification record
    Signed-object SHA-256
    ca2653101b9afba6656aea529109ba0c0f1ca1a92aa8614e7c887fda5264c230
    Signer fingerprint
    AD485664E901B867051AB15F35A2F86E29B700A4
    Keyring revision
    opensuse-project-signing-key.asc
    SHA-256 b5745739ebfb95b25b8e810f9bcb847fe750ccda598bd85f02f0e974599a6d7e
    Tool and policy
    gpgv (GnuPG) 2.4.9
    openfactory-software-catalog-signature-v1
    Verification time
    Sep 1, 2026
    Repository metadata hash linkage
    Result
    Recorded as verified; digest details unavailable