Skip to content

Commit

Permalink
Use updated Wish middleware to set color profile
Browse files Browse the repository at this point in the history
  • Loading branch information
Toby Padilla committed Nov 2, 2021
1 parent 88803aa commit a5dec44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ require (
github.com/charmbracelet/bubbletea v0.19.0
github.com/charmbracelet/glamour v0.3.0
github.com/charmbracelet/lipgloss v0.4.0
github.com/charmbracelet/wish v0.0.0-20210920172735-41a835204b30
github.com/charmbracelet/wish v0.0.0-00010101000000-000000000000
github.com/dustin/go-humanize v1.0.0
github.com/gliderlabs/ssh v0.3.3
github.com/go-git/go-git/v5 v5.4.2
github.com/meowgorithm/babyenv v1.3.1
github.com/muesli/reflow v0.3.0
github.com/muesli/termenv v0.9.0
github.com/muesli/termenv v0.9.0 // indirect
golang.org/x/crypto v0.0.0-20210817164053-32db794688a5 // indirect
gopkg.in/yaml.v2 v2.3.0
)
Expand Down
2 changes: 0 additions & 2 deletions internal/tui/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (
br "github.com/charmbracelet/soft/internal/tui/bubbles/repo"
"github.com/charmbracelet/soft/internal/tui/bubbles/selection"
gm "github.com/charmbracelet/wish/git"
"github.com/muesli/termenv"
)

type errMsg struct{ err error }
Expand All @@ -22,7 +21,6 @@ func (b *Bubble) setupCmd() tea.Msg {
if b.config == nil || b.config.Source == nil {
return errMsg{err: fmt.Errorf("config not set")}
}
lipgloss.SetColorProfile(termenv.ANSI256)
mes, err := b.menuEntriesFromSource()
if err != nil {
return errMsg{err}
Expand Down

0 comments on commit a5dec44

Please sign in to comment.