Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Console Mode Read Password #9

Open
hypersoft opened this issue Dec 4, 2017 · 1 comment
Open

Console Mode Read Password #9

hypersoft opened this issue Dec 4, 2017 · 1 comment

Comments

@hypersoft
Copy link
Owner

There is no support for this operation.

@hypersoft
Copy link
Owner Author

Support for this method is not available due to the way Java implements the feature.

  1. Obtaining the console object is not guaranteed to succeed.
  2. The readPassword method of the console object doesn't delete the last line entered and this causes ugly formatting issues with krypton's read-eval-print-loop within the context of line mode operations, because there is no way for krypton to detect the last line, and there is no known way for XPR to scrub the last line post operation completion.

basically, java's standard implementation of console does not meet this project's requirements. Support for this is a low-priority. The recommended course of action is to use XPR.run, targeting a system command/utility which provides the CORRECT functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant