Replies: 5 comments
-
Here are some proposed tenets for Terminal.Gui related to Unicode support: Terminal.Gui Unicode Handling Tenets (Unless you know better ones):
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Linux Terminal issues/discussions:
|
Beta Was this translation helpful? Give feedback.
-
What other libraires are thinking:
|
Beta Was this translation helpful? Give feedback.
-
Terminal.Gui Text Handling Requirements
|
Beta Was this translation helpful? Give feedback.
-
Unicode and TUI is a very interesting topic. Terminal.Gui apps want to use a broad range of Unicode features. This thread is a master discussion thread for Terminal.Gui unicode capabilities. Ideas, issues, designs, etc...
We're talking about features such as:
Terminal.Gui v2 has much better support for these things than v1, but there is still a long way to go. Related issues:
Specs
Relevant Terms/Definitions
String length- https://hsivonen.fi/string-length/ - "String length is about as meaningful a measurement as string height”
Column width
Rendering v Editing - The requirements for editing vs. just displaying text are different. For example, if a user wants to enter and edit a grapheme consisting of

a
and two accute accents (/u0301/u0301
) that is 3 "keystrokes". But what is displayed is a single-width glyph:Unicode segmentation -
Combining Marks -
Grapheme Cluster - one user-perceived character
Emoji -
'COOKED_READ` in Windows Terminal - The input mode that CMD and legacy versions of PowerShell (without PSReadline) use. It's the mode there the console host handles producing a single line of input for the client application and only returns it when the user mashes Enter.
Beta Was this translation helpful? Give feedback.
All reactions