init: first commit

This commit is contained in:
Louis Dalibard 2024-05-01 14:21:48 +02:00
parent 0ce3e02aae
commit 184067031b

View File

@ -13,7 +13,7 @@ import (
) )
func VersionNumber() string { func VersionNumber() string {
return " himitsu " + styling.ColorFg(config.Version, styling.HighlightedColor) return "himitsu " + styling.ColorFg(config.Version, styling.HighlightedColor)
} }
func Checkbox(label string, checked bool, selected bool) string { func Checkbox(label string, checked bool, selected bool) string {
@ -49,7 +49,7 @@ func TOTP(currTotp totp.TOTP) string {
} }
func KeybindsHints(keybinds []string) string { func KeybindsHints(keybinds []string) string {
s := " " s := ""
for index, keybind := range keybinds { for index, keybind := range keybinds {
if index != 0 { if index != 0 {
s += styling.Dot s += styling.Dot