-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Description
I want to render mixed styled text in TextArea while still using its soft wrap.
Embedding raw ANSI sequences in the text buffer is fragile. When wrapped or clipped, ANSI state can leak if reset sequences are cut, causing later output to inherit the wrong style.
A closure/context parameter on transform_fn would let users apply styling in the final transform phase with access to local state, instead of requiring TextArea itself to handle all ANSI edge cases.
This shifts the complexity to the caller, but keeps the core component simpler and avoids many hard-to-fix rendering traps.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels