davsclaus opened a new pull request, #27659:
URL: https://github.com/apache/camel/pull/27659

   ## Summary
   
   Link targets (the URL and id of a link in markdown text, such as an AI 
answer or a document shown in the TUI) are plain text. Control characters in 
them are now dropped once a frame is rendered, before it is drawn.
   
   - `LinkTargets.tidy(Buffer)` goes over the rendered frame and removes C0, 
DEL and C1 control characters from the URL and id of every link; cells keep 
their symbol and style, and links without control characters are left as they 
are
   - called once at the end of `CamelMonitor.render`, so it covers every view
   
   ## Tests
   
   - `LinkTargetsTest`: control characters dropped, plain text kept as is, URL 
and id tidied, cells keep their style, and a markdown link with character 
references rendered through `MarkdownView`
   - the camel-jbang-plugin-tui tests pass (1875)
   
   _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]

Reply via email to