Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
junegunn committed Jan 27, 2024
1 parent 272e3f0 commit 1f39ebc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions width.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package uniseg

// EastAsianAmbiguousWidth specifies the monospace width for East Asian
// characters classified as Ambiguous. The default is 1 but some rare fonts
// render them with a width of 2.
var EastAsianAmbiguousWidth = 1

// runeWidth returns the monospace width for the given rune. The provided
Expand Down

0 comments on commit 1f39ebc

Please sign in to comment.