A cross-platform, cross-console way to handle echoing terminal input
|Version on this page:||0.1.3@rev:1|
|LTS Haskell 20.23:||0.1.4|
|Stackage Nightly 2023-05-31:||0.1.4|
|Latest on Hackage:||0.1.4|
Maintained by Ryan Scott
This version can be pinned in stack with:
Module documentation for 0.1.3
Depends on 3 packages(full list with versions):
Used by 2 packages in lts-9.21(full list with versions):
base library exposes the
hSetEcho functions for querying and setting echo status, but unfortunately, neither function works with MinTTY consoles on Windows. This is a serious issue, since
hSetEcho are often used to disable input echoing when a program prompts for a password, so many programs will reveal your password as you type it on MinTTY!
This library provides an alternative interface which works with both MinTTY and other consoles. An example is included which demonstrates how one might prompt for a password using this library. To build it, make sure to configure with the
- The MinTTY-detection portion of this library has been split off into
mintty, on which
- Use more efficient implementation for
Win32-2.5or later if possible.
- First version.