Skip to content

Add TextVIew and StyledTextView #48

@dacec354

Description

@dacec354

TextView is a read-only text component, effectively an uneditable TextArea. It renders plain UTF-8 text with a uniform text style, and supports scrolling, wrapping, and viewport sizing.

StyledTextView is the styled-text variant of TextView. Instead of applying one text style to the whole content, it renders text that already contains ANSI SGR styling. It should preserve style correctly under scrolling, wrapping, and viewport rendering, including continuing active styles across soft-wrapped lines without leaking into adjacent content.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions