diff --git a/util.go b/util.go index ce61d24..d793e0a 100644 --- a/util.go +++ b/util.go @@ -51,6 +51,9 @@ var ( // Package initialization. func init() { + // We'll use zero width joiners. + runewidth.ZeroWidthJoiner = true + // Initialize the predefined input field handlers. InputFieldInteger = func(text string, ch rune) bool { if text == "-" {