This is an automated email from the ASF dual-hosted git repository. gnodet pushed a commit to branch fix-tui-missing-pane-borders in repository https://gitbox.apache.org/repos/asf/camel.git
commit ffcee03bbb7496b035660e72d951205e43ce71ec Author: Guillaume Nodet <[email protected]> AuthorDate: Mon Jun 29 15:19:37 2026 +0200 fix: remove empty spacer line between panels in History tab (key 8) Co-Authored-By: Claude Opus 4.6 <[email protected]> --- .../apache/camel/dsl/jbang/core/commands/tui/HistoryTab.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/HistoryTab.java b/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/HistoryTab.java index 737449f5d37f..1b4abc00bf92 100644 --- a/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/HistoryTab.java +++ b/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/HistoryTab.java @@ -1078,7 +1078,7 @@ class HistoryTab implements MonitorTab { List<TraceEntry> steps = getTraceStepsDepthFirst(traceSelectedExchangeId); List<Rect> chunks = Layout.vertical() - .constraints(Constraint.length(10), Constraint.length(1), Constraint.fill()) + .constraints(Constraint.length(10), Constraint.fill()) .split(area); Map<String, String> descMap = showDescription ? getRouteDescriptions() : Collections.emptyMap(); @@ -1099,10 +1099,10 @@ class HistoryTab implements MonitorTab { if (showWaterfall) { Integer sel = traceStepTableState.selected(); - renderWaterfall(frame, chunks.get(2), steps.stream().map(WaterfallStep::fromTrace).toList(), + renderWaterfall(frame, chunks.get(1), steps.stream().map(WaterfallStep::fromTrace).toList(), sel != null ? sel : -1); } else { - renderTraceStepDetail(frame, chunks.get(2), steps); + renderTraceStepDetail(frame, chunks.get(1), steps); } } @@ -1348,7 +1348,7 @@ class HistoryTab implements MonitorTab { List<HistoryEntry> current = reorderHistoryDepthFirst(historyEntries); List<Rect> chunks = Layout.vertical() - .constraints(Constraint.length(10), Constraint.length(1), Constraint.fill()) + .constraints(Constraint.length(10), Constraint.fill()) .split(area); Map<String, String> descMap = showDescription ? getRouteDescriptions() : Collections.emptyMap(); @@ -1369,10 +1369,10 @@ class HistoryTab implements MonitorTab { if (showWaterfall) { Integer sel = historyTableState.selected(); - renderWaterfall(frame, chunks.get(2), current.stream().map(WaterfallStep::fromHistory).toList(), + renderWaterfall(frame, chunks.get(1), current.stream().map(WaterfallStep::fromHistory).toList(), sel != null ? sel : -1); } else { - renderHistoryDetail(frame, chunks.get(2), current); + renderHistoryDetail(frame, chunks.get(1), current); } }
