mirror of
https://github.com/charmbracelet/gum.git
synced 2024-09-11 06:16:03 +03:00
refactor(ansi): drop ansi in favor for x/ansi
This commit is contained in:
parent
405f246635
commit
c5aa209eed
@ -1,8 +0,0 @@
|
||||
package ansi
|
||||
|
||||
import "github.com/charmbracelet/x/ansi"
|
||||
|
||||
// Strip strips a string of any of it's ansi sequences.
|
||||
func Strip(text string) string {
|
||||
return ansi.Strip(text)
|
||||
}
|
@ -8,9 +8,9 @@ import (
|
||||
|
||||
"github.com/charmbracelet/huh"
|
||||
"github.com/charmbracelet/lipgloss"
|
||||
"github.com/charmbracelet/x/ansi"
|
||||
"github.com/charmbracelet/x/term"
|
||||
|
||||
"github.com/charmbracelet/gum/ansi"
|
||||
"github.com/charmbracelet/gum/internal/stdin"
|
||||
)
|
||||
|
||||
|
@ -9,10 +9,10 @@ import (
|
||||
"github.com/charmbracelet/bubbles/textinput"
|
||||
"github.com/charmbracelet/bubbles/viewport"
|
||||
tea "github.com/charmbracelet/bubbletea"
|
||||
"github.com/charmbracelet/x/ansi"
|
||||
"github.com/charmbracelet/x/term"
|
||||
"github.com/sahilm/fuzzy"
|
||||
|
||||
"github.com/charmbracelet/gum/ansi"
|
||||
"github.com/charmbracelet/gum/internal/exit"
|
||||
"github.com/charmbracelet/gum/internal/files"
|
||||
"github.com/charmbracelet/gum/internal/stdin"
|
||||
|
Loading…
Reference in New Issue
Block a user