mirror of
https://github.com/charmbracelet/gum
synced 2024-06-29 02:30:07 +02:00
goimported
This commit is contained in:
parent
0410641d7d
commit
1b00e98648
|
@ -4,7 +4,6 @@ import "regexp"
|
||||||
|
|
||||||
var ansiEscape = regexp.MustCompile(`\x1B(?:[@-Z\\-_]|\[[0-?]*[ -/]*[@-~])`)
|
var ansiEscape = regexp.MustCompile(`\x1B(?:[@-Z\\-_]|\[[0-?]*[ -/]*[@-~])`)
|
||||||
|
|
||||||
|
|
||||||
// Strip strips a string of any of it's ansi sequences.
|
// Strip strips a string of any of it's ansi sequences.
|
||||||
|
|
||||||
func Strip(text string) string {
|
func Strip(text string) string {
|
||||||
|
|
Loading…
Reference in a new issue