some small fixes
This commit is contained in:
parent
e760d28c5a
commit
e4680caebb
6 changed files with 25 additions and 182 deletions
|
|
@ -21,7 +21,7 @@ import (
|
|||
|
||||
type StatusCmp interface {
|
||||
tea.Model
|
||||
SetHelpMsg(string)
|
||||
SetHelpWidgetMsg(string)
|
||||
}
|
||||
|
||||
type statusCmp struct {
|
||||
|
|
@ -263,7 +263,7 @@ func (m statusCmp) model() string {
|
|||
Render(model.Name)
|
||||
}
|
||||
|
||||
func (m statusCmp) SetHelpMsg(s string) {
|
||||
func (m statusCmp) SetHelpWidgetMsg(s string) {
|
||||
// Update the help widget text using the getHelpWidget function
|
||||
helpWidget = getHelpWidget(s)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue