Win32

Prompt::Hidden::Win32

The Windows half of Prompt::Hidden: one line read through _getch from msvcrt, which returns a key without echoing it.

Loaded only when $*DISTRO.is-win — use NativeCall costs about 70 ms on Rakudo, and a Unix program should not pay it for a branch it cannot take.

Nothing here runs on Raku++/Windows either: the engine has prompt(:hidden) natively, so Prompt::Hidden takes the 'core' backend and never reaches this file.

Prompt::Hidden v0.0.3

prompt with a :hidden adverb — a password the terminal never echoes, native on Raku++ and stty everywhere else

Authors

  • Andrew Shitov

License

Artistic-2.0

Dependencies

Test Dependencies

Provides

  • Prompt::Hidden
  • Prompt::Hidden::Win32

Documentation

The Camelia image is copyright 2009 by Larry Wall. "Raku" is a trademark of the Yet Another Society. All rights reserved.

Built with Podlite — the markup and publishing tools behind this site.