diff options
Diffstat (limited to 'internal/ui')
-rw-r--r-- | internal/ui/misc.go | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/internal/ui/misc.go b/internal/ui/misc.go new file mode 100644 index 0000000..33092b4 --- /dev/null +++ b/internal/ui/misc.go @@ -0,0 +1,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) +} |