OpenTUI 0.5.8
Added
- core: Adds
"unicode-wide"toWidthMethod. It uses the width profile of Ghostty 1.3, which renders certain multi-code-point graphemes two columns wide, so rendering, wrapping, and cursor placement stay aligned with the terminal. See Text and terminal cells. (#1415)
Fixed
- core: Keeps the left-button selection state until the left button is released, so a right-click does not interrupt a drag. See Interaction, focus, and selection. (#1416)
- core: Counts Thai spacing marks, such as SARA AM, in grapheme widths, so output coordinates match the terminal. See Text and terminal cells. (#1413)
API changes#
@opentui/core#
Changed
type WidthMethod = "wcwidth" | "unicode"type WidthMethod = "wcwidth" | "unicode" | "unicode-wide"