[jboss-jira] [JBoss JIRA] (WFWIP-41) Implement HOME and END keys

Erich Duda (JIRA) issues at jboss.org
Wed Jun 6 01:57:00 EDT 2018


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

Erich Duda commented on WFWIP-41:
---------------------------------

Yes, that would be uneven fight ;) Many thanks for the HOME/END support. I tried it and it works with this small improvement.

{code:diff}
diff --git a/cli/src/main/java/org/jboss/as/cli/impl/ReadlineConsole.java b/cli/src/main/java/org/jboss/as/cli/impl/ReadlineConsole.java
index 9556e5e..22b0962 100644
--- a/cli/src/main/java/org/jboss/as/cli/impl/ReadlineConsole.java
+++ b/cli/src/main/java/org/jboss/as/cli/impl/ReadlineConsole.java
@@ -905,11 +905,13 @@ public class ReadlineConsole {
                                     break;
                                 }
                                 case HOME:
+                                case HOME_2:
                                 case g: {
                                     paging.goHome();
                                     break;
                                 }
                                 case END:
+                                case END_2:
                                 case G: {
                                     paging.goEnd();
                                     break;
{code}

> Implement HOME and END keys
> ---------------------------
>
>                 Key: WFWIP-41
>                 URL: https://issues.jboss.org/browse/WFWIP-41
>             Project: WildFly WIP
>          Issue Type: Task
>            Reporter: Erich Duda
>            Assignee: Jean-Francois Denise
>
> This is related to WFCORE-3568. Based on [proposal|https://github.com/wildfly/wildfly-proposals/pull/48/files] the scrolling feature should support also HOME and END keys. However they are not implemented yet so I've created this Jira as reminder.
> In the analysis the keys don't have any one char alternatives which help at testing. Please introduce them as well. Thank you.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list