-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
How to disable 'command echoing' #231
Comments
Another note, if you specify a mask, it seems to output the thing you're actually typing, and then the mask, like:
The only time the word test should be output as the three times at the end, as that was what I typed in - and it should have been masked. |
The code should work. I've just tested it on OsX and Windows. |
To provide an update on my situation with this I did manage to make this work, it was something to do with JLine not having a valid set of terminal settings to restore to (or something to that effect, I'm not 100% sure). Here's the file with the fix for my specific issue in (inspired by SBT's implementation of JLine): https://gist.github.com/SeerUK/ade30d23b009fb258e31 |
I have the same issue. OSX 10.11.3 running Terminal. |
With the following simple code, pressing '
Enter
' results with theConsoleReader
repeating/echoing my command back to me:Again, produces:
I would like to disable this echoing if at all possible, but wasn't sure what the reason for it was in the first place. Instead, I'd like:
Any ideas/thoughts? I'd be happy to submit a PR for this if it sounds like something the community would like to embrace.
The text was updated successfully, but these errors were encountered: