This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 35a9e09df369 camel-tui: polished
35a9e09df369 is described below
commit 35a9e09df369bee6d65bdbe595b14ea8fc8e03b4
Author: Claus Ibsen <[email protected]>
AuthorDate: Wed Jun 24 18:14:18 2026 +0200
camel-tui: polished
---
.../java/org/apache/camel/dsl/jbang/core/commands/tui/DoctorPopup.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/DoctorPopup.java
b/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/DoctorPopup.java
index af7bfc00d985..f6ea47fb18a9 100644
---
a/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/DoctorPopup.java
+++
b/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/DoctorPopup.java
@@ -84,7 +84,7 @@ class DoctorPopup {
int popupW = Math.min(62, area.width() - 4);
int popupH = Math.min(lines.size() + 2, area.height() - 4);
int x = area.left() + Math.max(0, (area.width() - popupW) / 2);
- int y = area.top() + Math.max(0, (area.height() - popupH) / 2);
+ int y = area.top() + 2;
Rect popup = new Rect(x, y, Math.min(popupW, area.width()),
Math.min(popupH, area.height()));
frame.renderWidget(Clear.INSTANCE, popup);