This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch CAMEL-23512-fix-tui-tamboui-api
in repository https://gitbox.apache.org/repos/asf/camel.git

commit ad133d8d1414722945dae5a704cc39874c8c195b
Author: Claus Ibsen <[email protected]>
AuthorDate: Wed May 13 22:26:51 2026 +0200

    CAMEL-23512: Replace vim g/G keys with Home/End in Log tab
    
    Use standard Home/End keys for jump-to-top and jump-to-end in the
    log viewer instead of vim-style g/G for consistency with normal users.
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
---
 .../org/apache/camel/dsl/jbang/core/commands/tui/CamelMonitor.java  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/CamelMonitor.java
 
b/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/CamelMonitor.java
index f04aad0c7408..17459ecc3d25 100644
--- 
a/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/CamelMonitor.java
+++ 
b/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/CamelMonitor.java
@@ -430,12 +430,12 @@ public class CamelMonitor extends CamelCommand {
                     logFollowMode = !logFollowMode;
                     return true;
                 }
-                if (ke.isChar('g')) {
+                if (ke.isHome()) {
                     logFollowMode = false;
                     logTableState.select(0);
                     return true;
                 }
-                if (ke.isChar('G')) {
+                if (ke.isEnd()) {
                     logFollowMode = true;
                     return true;
                 }
@@ -2017,7 +2017,7 @@ public class CamelMonitor extends CamelCommand {
                     Span.raw(" levels  "),
                     Span.styled("f", Style.create().fg(Color.YELLOW).bold()),
                     Span.raw(" follow  "),
-                    Span.styled("g/G", Style.create().fg(Color.YELLOW).bold()),
+                    Span.styled("Home/End", 
Style.create().fg(Color.YELLOW).bold()),
                     Span.raw(" top/end"));
         } else if (tab == TAB_TRACE) {
             footer = Line.from(

Reply via email to