summaryrefslogtreecommitdiff
path: root/internal/ui/misc.go
blob: 33092b42c4be0dec6153a04335bbd933e1baff9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package ui

import (
	lg "github.com/charmbracelet/lipgloss"
	"github.com/muesli/termenv"
)

func ColorProfile() termenv.Profile {
	return termenv.TrueColor
}

func init() {
	r := lg.DefaultRenderer()
	r.SetColorProfile(ColorProfile())
	lg.SetDefaultRenderer(r)
}