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 74c02d40afd7 CAMEL-23831: Fix garbage characters on intro screen after 
stopping app in camel-tui
74c02d40afd7 is described below

commit 74c02d40afd78418d804bf2ef070e1f44e854c11
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Jul 3 19:36:49 2026 +0200

    CAMEL-23831: Fix garbage characters on intro screen after stopping app in 
camel-tui
    
    Co-Authored-By: Claude Opus 4.6 <[email protected]>
    Signed-off-by: Claus Ibsen <[email protected]>
---
 .../java/org/apache/camel/dsl/jbang/core/commands/tui/OverviewTab.java  | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/OverviewTab.java
 
b/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/OverviewTab.java
index a33d0944f632..7df8057a8698 100644
--- 
a/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/OverviewTab.java
+++ 
b/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/OverviewTab.java
@@ -35,6 +35,7 @@ import dev.tamboui.text.Text;
 import dev.tamboui.tui.event.KeyEvent;
 import dev.tamboui.tui.event.MouseEvent;
 import dev.tamboui.tui.event.MouseEventKind;
+import dev.tamboui.widgets.Clear;
 import dev.tamboui.widgets.barchart.Bar;
 import dev.tamboui.widgets.barchart.BarChart;
 import dev.tamboui.widgets.barchart.BarGroup;
@@ -1073,6 +1074,7 @@ class OverviewTab extends AbstractTab {
                 Span.styled(" F1 ", Theme.hintKey()),
                 Span.styled(".", Theme.muted()))));
 
+        frame.renderWidget(Clear.INSTANCE, area);
         frame.renderWidget(
                 Paragraph.builder()
                         .text(Text.from(lines))

Reply via email to