[forge-issues] [JBoss JIRA] (FORGE-1606) ShellUIPromptImpl.prompt() and promptSecret() accepts only one keystroke

Ståle Pedersen (JIRA) issues at jboss.org
Wed Feb 26 04:55:48 EST 2014


    [ https://issues.jboss.org/browse/FORGE-1606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12948221#comment-12948221 ] 

Ståle Pedersen commented on FORGE-1606:
---------------------------------------

after thinking about it a bit more æsh could perhaps be used more directly to handle input while a command is running... - this wont happen this week though!
                
> 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



More information about the forge-issues mailing list