help.go

 1package tui
 2
 3import "fmt"
 4
 5type helpEntry struct {
 6	key string
 7	val string
 8}
 9
10func (h helpEntry) String() string {
11	return fmt.Sprintf("%s %s", helpKeyStyle.Render(h.key), helpValueStyle.Render(h.val))
12}