AddHelpKeys adds key binding help at the bottom.
(bindings ...string)
| 235 | |
| 236 | // AddHelpKeys adds key binding help at the bottom. |
| 237 | func (dc *Content) AddHelpKeys(bindings ...string) *Content { |
| 238 | dc.parts = append(dc.parts, RenderHelpKeys(dc.width, bindings...)) |
| 239 | return dc |
| 240 | } |
| 241 | |
| 242 | // AddHelp adds help text at the bottom. |
| 243 | func (dc *Content) AddHelp(text string) *Content { |