Name : ghc-mintty
| |
Version : 0.1.3
| Vendor : openSUSE
|
Release : bp155.2.5
| Date : 2022-08-20 07:25:55
|
Group : Unspecified
| Source RPM : ghc-mintty-0.1.3-bp155.2.5.src.rpm
|
Size : 0.01 MB
| |
Packager : https://bugs_opensuse_org
| |
Summary : A reliable way to detect the presence of a MinTTY console on Windows
|
Description :
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.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/openSUSE:/Leap:/15.5:/ToTest/images/repo/openSUSE-Leap-15.5-x86_64-aarch64-ppc64le-s390x-Media1/x86_64 |