Add help to keys

This commit is contained in:
2024-08-16 19:51:38 +02:00
parent 757bdd6967
commit c2b3f65bcc

View File

@@ -89,9 +89,11 @@ func newModel() model {
),
copy: key.NewBinding(
key.WithKeys("ctrl+x"),
key.WithHelp("ctrl+x", "copy"),
),
clear: key.NewBinding(
key.WithKeys("ctrl+r"),
key.WithHelp("ctrl+r", "clear"),
),
},
}