haskell / win32

Haskell support for the Win32 API
http://hackage.haskell.org/package/Win32
Other
98 stars 62 forks source link

Docs: Clarify that `isMinTTY` only checks for old MinTTYs #217

Closed RyanGlScott closed 1 year ago

RyanGlScott commented 1 year ago

Despite the name, isMinTTY is only capable of detecting the presence of old versions of MinTTY. The name of the function is perhaps misleading in that regard, but it is widely used enough at this point to where renaming it would be disruptive. Instead, let's just clarify its intent in the documentation.

Description

This alters the Haddocks in System.Win32.MinTTY to clarify to which versions of MinTTY the isMinTTY and isMinTTYHandle functions apply.

Motivation and Context

Resolves #216.

Types of changes

Checklist:

Mistuke commented 1 year ago

Thanks! Appreciate it.