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

davsclaus pushed a commit to branch fix/camel-tui-load-avg
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 0a46f410a63b7d28584c2b49df4c90c64b95b65e
Author: Claus Ibsen <[email protected]>
AuthorDate: Sun May 17 21:03:39 2026 +0200

    TUI: move Esc hint after q in overview footer
    
    Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
---
 .../org/apache/camel/dsl/jbang/core/commands/tui/CamelMonitor.java    | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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 1ba8cdf5f5e4..0c20ff224d2d 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
@@ -3896,6 +3896,9 @@ public class CamelMonitor extends CamelCommand {
 
         if (tab == TAB_OVERVIEW) {
             hint(spans, "q", "quit");
+            if (selectedPid != null) {
+                hint(spans, "Esc", "unselect");
+            }
             hint(spans, "\u2191\u2193", "navigate");
             hint(spans, "s", "sort");
             hint(spans, "a", "chart " + switch (chartMode) {
@@ -3909,7 +3912,6 @@ public class CamelMonitor extends CamelCommand {
                 if (selInfo != null) {
                     hint(spans, "p", selInfo.routeStarted > 0 ? "stop" : 
"start");
                 }
-                hint(spans, "Esc", "unselect");
             }
             hint(spans, "1-9", "tabs");
         } else if (tab == TAB_ROUTES && showSource) {

Reply via email to