From a7dff6f80fdfdfb0496d7e438f5681a4b123a814 Mon Sep 17 00:00:00 2001 From: Antoine Grondin Date: Fri, 25 Oct 2024 16:25:50 +0900 Subject: [PATCH] make selection more unambiguous (when no color on terminal) --- cmd/humanlog/main.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmd/humanlog/main.go b/cmd/humanlog/main.go index cfb94893..2a233705 100644 --- a/cmd/humanlog/main.go +++ b/cmd/humanlog/main.go @@ -82,6 +82,10 @@ func fatalf(c *cli.Context, format string, args ...interface{}) { } func main() { + huhTheme.Focused.FocusedButton = huhTheme.Focused.FocusedButton.Bold(true).Underline(true) + huhTheme.Focused.BlurredButton = huhTheme.Focused.BlurredButton.Bold(false).Underline(false).Strikethrough(true) + huhTheme.Blurred.FocusedButton = huhTheme.Focused.FocusedButton.Bold(true).Underline(true) + huhTheme.Blurred.BlurredButton = huhTheme.Focused.BlurredButton.Bold(false).Underline(false).Strikethrough(true) app := newApp() prefix := rgbterm.FgString(app.Name+"> ", 99, 99, 99)