Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GraphemeClusterWidth ¶
GraphemeClusterWidth returns the width in cells of a grapheme cluster. It attempts to handle combining characters, emoji, and regional indicators reasonably, but can't be 100% accurate without knowing how the terminal will render the glyphs. Tab width is determined based on the position within the line.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.