davsclaus opened a new pull request, #23200: URL: https://github.com/apache/camel/pull/23200
## Summary - Replace deprecated `KeyEvent.character()` with `ke.string()` for proper Unicode support - Use `CharWidth` for display width calculations instead of `String.length()` (fixes CJK/emoji display) - Use TamboUI semantic key bindings (`isPageUp()`, `isCancel()`, `isFocusNext()`, etc.) instead of raw `KeyCode` checks, enabling vim/emacs key binding support - Enable mouse capture in CamelMonitor for diagram scrolling - Move TableState for processors and route header to class fields (fixes lost selection state) - Use `Style.EMPTY` constant instead of `Style.create()` (219 occurrences) - Use `Block` with `Borders.TOP_ONLY` for catalog separator instead of manual character repetition - Use Paragraph's built-in `scroll()` and `Overflow.WRAP_WORD` instead of manual line slicing and custom `wrapText()` method - Replace vim `g/G` keys with `Home/End` in Log tab for consistency - Deduplicate footer rendering with `hint()` helper methods (-27 lines) ## Test plan - [x] Module builds successfully (`mvn clean install -pl dsl/camel-jbang/camel-jbang-plugin-tui -Dquickly`) - [x] Code formatting passes (`mvn formatter:format impsort:sort`) - [ ] Run `camel tui monitor` and verify all 6 tabs render correctly - [ ] Run `camel tui catalog` and verify component browsing, filtering, and description scrolling - [ ] Verify keyboard navigation works (arrows, Tab, Enter, Escape, Home/End, PgUp/PgDn) - [ ] Verify mouse scroll works in diagram view 🤖 Generated with [Claude Code](https://claude.com/claude-code) _Claude Code on behalf of Claus Ibsen_ -- 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]
