You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2026/07/01 14:29:39 UTC
(camel) 06/11: chore: reset table selection when heap histogram filter changes
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch feature/CAMEL-23870-heap-histogram
in repository https://gitbox.apache.org/repos/asf/camel.git
commit d7cb626c7ca4ce425c45ad6d3b672dddbf1735c4
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Wed Jul 1 16:22:38 2026 +0200
chore: reset table selection when heap histogram filter changes
Co-Authored-By: Claude <no...@anthropic.com>
Signed-off-by: Claus Ibsen <cl...@gmail.com>
---
.../org/apache/camel/dsl/jbang/core/commands/tui/HeapHistogramTab.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/HeapHistogramTab.java b/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/HeapHistogramTab.java
index c620c298f6ce..78e97418d3f2 100644
--- a/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/HeapHistogramTab.java
+++ b/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/HeapHistogramTab.java
@@ -105,6 +105,7 @@ class HeapHistogramTab implements MonitorTab {
}
if (ke.isCharIgnoreCase('f')) {
filter = (filter + 1) % FILTER_LABELS.length;
+ tableState.select(0);
return true;
}
if (ke.isKey(KeyCode.F5)) {