summaryrefslogtreecommitdiffstats
path: root/pkg/theme
diff options
context:
space:
mode:
authorhongkuang <liurenhong@outlook.com>2024-04-07 16:09:26 +0800
committerhongkuang <liurenhong@outlook.com>2024-04-07 16:09:26 +0800
commitd8c1eb879b5138627559cd62515bdaa657005ece (patch)
tree4db3bd4dca3e7879b42fe6d4fd14522730114a8f /pkg/theme
parentc02408bba0755f88d5d94ed624958edf0fb3199a (diff)
pkg: fix some comment
Signed-off-by: hongkuang <liurenhong@outlook.com>
Diffstat (limited to 'pkg/theme')
-rw-r--r--pkg/theme/gocui.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/theme/gocui.go b/pkg/theme/gocui.go
index 6bda0c721..5f8e6a611 100644
--- a/pkg/theme/gocui.go
+++ b/pkg/theme/gocui.go
@@ -21,7 +21,7 @@ var gocuiColorMap = map[string]gocui.Attribute{
"underline": gocui.AttrUnderline,
}
-// GetAttribute gets the gocui color attribute from the string
+// GetGocuiAttribute gets the gocui color attribute from the string
func GetGocuiAttribute(key string) gocui.Attribute {
if utils.IsValidHexValue(key) {
values := color.HEX(key).Values()