[
https://issues.jboss.org/browse/FORGE-1606?page=com.atlassian.jira.plugin...
]
Ståle Pedersen commented on FORGE-1606:
---------------------------------------
after looking at it very quickly what we can easily implement is handling echo chars +
backspace.
arrow navigation is another task altogether though. if you want something like this you
would need to know the cursor position and make sure it do not go over any boundaries.
ShellUIPromptImpl.prompt() and promptSecret() accepts only one
keystroke
------------------------------------------------------------------------
Key: FORGE-1606
URL:
https://issues.jboss.org/browse/FORGE-1606
Project: Forge
Issue Type: Enhancement
Components: UI - Shell
Affects Versions: 2.0.0.Final
Reporter: George Gastaldi
Priority: Critical
Fix For: 2.0.1.Final
The prompt() method in ShellUIPromptImpl should be enhanced to accept more than one
keystroke. It should echo typed chars too.
promptSecret() should echo '*' or not show anything at all.
It also needs to handle backspaces and left/right arrow navigation.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira