This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch jline in repository https://gitbox.apache.org/repos/asf/camel.git
commit 2bbc4bca837079640d11cd898482832f73a87097 Author: Claus Ibsen <[email protected]> AuthorDate: Thu Dec 11 11:05:26 2025 +0100 camel-jbang - camel get history use jline to make it mode better --- .../camel/dsl/jbang/core/commands/action/CamelHistoryAction.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/action/CamelHistoryAction.java b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/action/CamelHistoryAction.java index dcd493d62ea1..8b4bb1911c41 100644 --- a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/action/CamelHistoryAction.java +++ b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/action/CamelHistoryAction.java @@ -335,6 +335,7 @@ public class CamelHistoryAction extends ActionWatchCommand { // styles for highlighting the selected row var faint = AttributedStyle.DEFAULT.faint(); + var bold = AttributedStyle.DEFAULT.bold(); var normal = AttributedStyle.DEFAULT; var select = AttributedStyle.DEFAULT .background(loggingColor ? AttributedStyle.BLUE : AttributedStyle.BRIGHT) @@ -352,7 +353,7 @@ public class CamelHistoryAction extends ActionWatchCommand { int maxRows = Math.min(IT_MAX_ROWS, rows.size()); // table header - answer.add(new AttributedString(lines[0])); + answer.add(new AttributedString(lines[0], bold)); // slice top table with maximum IT_MAX_ROWS number of rows int rowPos = rowIndex.get();
