some small fixes

This commit is contained in:
Kujtim Hoxha
2025-05-01 12:48:19 +02:00
committed by adamdottv
parent e760d28c5a
commit e4680caebb
6 changed files with 25 additions and 182 deletions

View File

@@ -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)
}