This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-23420-tui-text-diagram in repository https://gitbox.apache.org/repos/asf/camel.git
commit 0e660059afbcdc3c93d960fe1cd8a0416cd4fe46 Author: Claus Ibsen <[email protected]> AuthorDate: Wed May 13 13:41:17 2026 +0200 CAMEL-23420: Show matching close key (d/D) in diagram footer Co-Authored-By: Claude Opus 4.7 <[email protected]> --- .../org/apache/camel/dsl/jbang/core/commands/tui/CamelMonitor.java | 3 ++- 1 file changed, 2 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 2eea5136e72c..2d34377cee4f 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 @@ -1747,8 +1747,9 @@ public class CamelMonitor extends CamelCommand { Span.styled("Refresh: " + refreshLabel, Style.create().dim())); } else if (tab == TAB_ROUTES) { if (showDiagram) { + String closeKey = diagramTextMode ? "D" : "d"; footer = Line.from( - Span.styled(" d", Style.create().fg(Color.YELLOW).bold()), + Span.styled(" " + closeKey, Style.create().fg(Color.YELLOW).bold()), Span.raw("/"), Span.styled("Esc", Style.create().fg(Color.YELLOW).bold()), Span.raw(" close "),
