Versions in this module Expand all Collapse all v1 v1.8.5 Sep 10, 2019 Changes in this version + var DefaultCondition = &Condition + var EastAsianWidth bool + func FillLeft(s string, w int) string + func FillRight(s string, w int) string + func IsAmbiguousWidth(r rune) bool + func IsEastAsian() bool + func IsNeutralWidth(r rune) bool + func RuneWidth(r rune) int + func StringWidth(s string) (width int) + func Truncate(s string, w int, tail string) string + func Wrap(s string, w int) string + type Condition struct + EastAsianWidth bool + func NewCondition() *Condition + func (c *Condition) FillLeft(s string, w int) string + func (c *Condition) FillRight(s string, w int) string + func (c *Condition) RuneWidth(r rune) int + func (c *Condition) StringWidth(s string) (width int) + func (c *Condition) Truncate(s string, w int, tail string) string + func (c *Condition) Wrap(s string, w int) string