eclipse-archived / ceylon

The Ceylon compiler, language module, and command line tools
http://ceylon-lang.org
Apache License 2.0
399 stars 62 forks source link

Read from stdin without echo #5449

Open CeylonMigrationBot opened 10 years ago

CeylonMigrationBot commented 10 years ago

[@FroMage] It should be possible to read from stdin without echo, like for reading passwords. I don't think the JVM provides a way to turn echo off, but it can read without echo until EOL with java.io.Console.readPassword. If Node.js has something similar we could expose it?

[Migrated from ceylon/ceylon.language#571]

CeylonMigrationBot commented 10 years ago

[@quintesse] Seems possible at least: http://stackoverflow.com/questions/4708787/get-password-from-input-using-node-js