[forge-issues] [JBoss JIRA] (FORGE-942) CommandHistory / Doskey display is not working in Windows.

Vineet Reynolds (JIRA) jira-events at lists.jboss.org
Sun Jul 14 05:17:26 EDT 2013


     [ https://issues.jboss.org/browse/FORGE-942?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vineet Reynolds updated FORGE-942:
----------------------------------

              Status: Pull Request Sent  (was: Open)
    Git Pull Request: https://github.com/forge/core/pull/332


The fix is to use Jansi for reading characters in Windows

This is the default jline2 behavior. Reading is delegated to WindowsSupport.getByte on Windows instead of reading directly from System.in. This makes keystrokes like arrow keys available as events to the ConsoleReader, thus triggering the browsing of the Forge command history correctly. Command history now works well in Windows as a result of this.
                
> CommandHistory / Doskey display is not working in Windows.
> ----------------------------------------------------------
>
>                 Key: FORGE-942
>                 URL: https://issues.jboss.org/browse/FORGE-942
>             Project: Forge
>          Issue Type: Bug
>          Components: Windows
>    Affects Versions: 1.3.0.Final
>         Environment: Windows XP, java version "1.7.0_21", Forge 1.3.0-Final
>            Reporter: Rajmahendra Hegde
>             Fix For: 1.x Future
>
>
> When I try to use Forege in command prompt in Windows, After executing couple of forge commands and try to use arrow key Up and Down. I cant see the command history.

--
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