Skip to content

Commit

Permalink
Merge pull request #51 from koki-develop/set-color-profile
Browse files Browse the repository at this point in the history
  • Loading branch information
koki-develop committed May 5, 2023
2 parents 60a13da + fb6c48c commit fbd2faa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions model.go
Expand Up @@ -9,6 +9,7 @@ import (
tea "github.com/charmbracelet/bubbletea"
"github.com/charmbracelet/lipgloss"
"github.com/mattn/go-runewidth"
"github.com/muesli/termenv"
)

var (
Expand Down Expand Up @@ -61,6 +62,7 @@ func newModel(opt *option) *model {
input.PlaceholderStyle = opt.styles.option.inputPlaceholder
input.TextStyle = opt.styles.option.inputText
input.Focus()
lipgloss.SetColorProfile(termenv.TrueColor)

if !opt.multiple() {
opt.keymap.Toggle.SetEnabled(false)
Expand Down

0 comments on commit fbd2faa

Please sign in to comment.