runes

package
v1.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2022 License: MIT Imports: 2 Imported by: 11

Documentation

Overview

deprecated. see https://github.com/chzyer/readline/issues/43 use github.com/chzyer/readline/runes.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Aggregate

func Aggregate(candicate [][]rune) (same []rune, size int)

func Backspace

func Backspace(r []rune) []byte

func ColorFilter

func ColorFilter(r []rune) []rune

func Copy

func Copy(r []rune) []rune

func Equal

func Equal(a, b []rune) bool

func HasPrefix

func HasPrefix(r, prefix []rune) bool

func Index

func Index(r rune, rs []rune) int

func IndexAll

func IndexAll(r, sub []rune) int

Search in runes from front to end

func IndexAllBck

func IndexAllBck(r, sub []rune) int

Search in runes from end to front

func Width

func Width(r rune) int

func WidthAll

func WidthAll(r []rune) (length int)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL