github.com/clipperhouse/displaywidth.Options.Bytes (method)

5 uses

	github.com/clipperhouse/displaywidth (current package)
		truncate.go#L99: 	maxWidthWithoutTail := maxWidth - options.Bytes(tail)
		truncate.go#L126: 					if len(v) > 0 && v[0] == 0x1B && options.Bytes(v) == 0 {
		width.go#L64: 	return DefaultOptions.Bytes(s)
		width.go#L69: func (options Options) Bytes(s []byte) int {

	github.com/charmbracelet/x/ansi
		parser_decode.go#L448: 		return T(cluster), dwOptions.Bytes(cluster)