These docs describe the main branch, including unreleased changes. Read the 0.6.0 docs.

OpenTUI 0.5.8

npmGitHub release

Added

  • core: Adds "unicode-wide" to WidthMethod. 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

API changes#

@opentui/core#

Changed

  • type WidthMethod = "wcwidth" | "unicode"type WidthMethod = "wcwidth" | "unicode" | "unicode-wide"