davsclaus commented on code in PR #29468:
URL: https://github.com/apache/camel/pull/29468#discussion_r4514989133
##########
dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/OverviewTab.java:
##########
@@ -289,6 +289,10 @@ Rect getTableArea() {
@Override
public boolean handleMouseEvent(MouseEvent me, Rect area) {
+ if (showsAbout()) {
+ // About has no table: a click puts its cursor on an entry of In,
Routes or Out, the wheel moves it
+ return me.isClick() && about.click(me.x(), me.y());
Review Comment:
The wheel does move it. In About mode `handleMouseEvent` returns `false` for
a wheel event, and `CamelMonitor` then falls back to `tabRegistry.navigateUp()`
/ `navigateDown()` for `SCROLL_UP` / `SCROLL_DOWN` over the content area. In
About mode those call `about.moveCursor(-1/+1)`, so the comment is accurate.
_Claude Code on behalf of davsclaus_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]