Documentation
¶
Index ¶
- func CountClear(text string, start int, end int) int
- func CursorShift(line []rune) int
- func CursorShiftAt(line []rune, index int) int
- func CursorShiftCalculateAt(line []rune, index int) int
- func GetDirIcon(s string) string
- func GetFileIcon(s string) string
- func GetHash(s string) uint32
- func IsLetter(ch rune) bool
- func IsLetterOrNumber(ch rune) bool
- func IsNumber(ch rune) bool
- func ReadTabAt(line []rune, index int) []rune
- func ReplaceTabs(line []rune) []rune
- func SearchIcon() string
- func VisibleSubString(text string, start int, end int) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CursorShift ¶
func CursorShiftAt ¶
func CursorShiftCalculateAt ¶ added in v0.2.1
func GetDirIcon ¶ added in v0.3.0
func GetFileIcon ¶ added in v0.3.0
func IsLetterOrNumber ¶
func ReplaceTabs ¶ added in v0.2.1
func SearchIcon ¶ added in v0.3.0
func SearchIcon() string
func VisibleSubString ¶ added in v0.3.0
So here is where I build the actual line, including the ASCII escape sequences If I just use line.data[start:end], I'll get something like this: ``` 033[0m and some text ``` Here I just ignore the escape sequences and don't count them, so I can use them
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.