Package Info

ghc-echo


A cross-platform, cross-console way to handle echoing terminal input


Unspecified

The 'base' library exposes the 'hGetEcho' and 'hSetEcho' functions for querying and setting echo status, but unfortunately, neither function works with MinTTY consoles on Windows. This is a serious issue, since 'hGetEcho' and '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 '-fexample' flag.


License: BSD-3-Clause
URL: https://hackage.haskell.org/package/echo

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
0.1.4-bp156.3.3 info GA Release 2023-12-07 15 SP6
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • ghc-echo
  • ghc-echo-devel
0.1.4-bp155.2.14 info GA Release 2023-05-22 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • ghc-echo
  • ghc-echo-devel
0.1.4-bp154.1.12 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • x86-64
  • ghc-echo
  • ghc-echo-devel
0.1.3-bp153.1.20 info GA Release 2021-04-08 15 SP3
  • AArch64
  • ppc64le
  • x86-64
  • ghc-echo
  • ghc-echo-devel
0.1.3-bp152.4.13 info GA Release 2020-06-16 15 SP2
  • AArch64
  • ppc64le
  • x86-64
  • ghc-echo
  • ghc-echo-devel
0.1.3-bp151.4.2 info GA Release 2019-07-17 15 SP1
  • ppc64le
  • s390x
  • x86-64
  • ghc-echo
  • ghc-echo-devel
0.1.3-bp151.3.12 info GA Release 2019-05-31 15 SP1
  • AArch64
  • ghc-echo
  • ghc-echo-devel
0.1.3-bp150.2.6 info GA Release 2018-07-31 15
  • ppc64le
  • ghc-echo
  • ghc-echo-devel
0.1.3-bp150.2.7 info GA Release 2018-07-30 15
  • AArch64
  • x86-64
  • ghc-echo
  • ghc-echo-devel