davsclaus opened a new pull request, #27766: URL: https://github.com/apache/camel/pull/27766
[CAMEL-25580](https://issues.apache.org/jira/browse/CAMEL-25580): TamboUI 0.6.0 is released. Camel compiles and its tests pass on it unchanged, and the jline3 backend runs on Camel's JLine 4.4.7 (checked in a real terminal). One change needs a fix in Camel. A wrapped `Paragraph` line now continues under its first non-blank character (hanging indent, tamboui/tamboui#461), and that can't be turned off. The Log tab (follow mode), the source viewer and the process tab count the rows of their wrapped lines themselves to scroll. They counted too few for indented lines such as stack trace lines, so with wrap on (the Log tab's default) following a log could hide the newest lines. - `TuiHelper.wrappedRows` counts rows the way the paragraph wraps a line, and replaces the three counters. A test compares it with the paragraph's own output for 16 lines at 7 widths (stack traces, paths, CJK, emoji). - The source viewer counts each line as drawn, with its marker and line number. With wrap on, its scroll limit now keeps the end of the file on screen. It miscounted before the upgrade too. Other changes in 0.6.0 that show in Camel: - A blank list item takes its row (tamboui/tamboui#509), so the spacer above the hints in the example browser shows as a blank row, as the mouse handling already assumed. - A bracketed paste is read until its end marker (tamboui/tamboui#477). Most of the Camel workarounds listed in the ticket wait for TamboUI PRs that are not in 0.6.0 (#542, #543, #544, #545 and others), so they stay for now. `wrappedRows` can go once `Paragraph.lineCount(width)` (#545) is released. _Claude Code on behalf of davsclaus_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
