Recent

Author Topic: [Solved] Console App Prevent Keyboard Echo  (Read 3588 times)

sfeinst

  • Sr. Member
  • ****
  • Posts: 259
[Solved] Console App Prevent Keyboard Echo
« on: March 29, 2011, 08:11:44 pm »
It's been a while since I wrote any console apps so I'm not even sure if this is supported.  I'm trying to get input from a user (right now using readln), but I do not want what the user typed to appear in the console (basically getting a password from a user).

Is there a way to prevent the keypresses from echoing to the console?

Thanks

EDIT:
After modifying my google search to look for keyboard instead of echo, password, console and readln, I found a solution:

Using keyboard unit I can read keys entered without echoing.
« Last Edit: March 29, 2011, 08:34:56 pm by sfeinst »

 

TinyPortal © 2005-2018