mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Make widget name part of the output
This commit is contained in:
parent
9b8ce06990
commit
46c31103b8
@ -120,7 +120,7 @@ func (widget *TextWidget) Redraw(title, text string, wrap bool) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (widget *TextWidget) HelpText() string {
|
func (widget *TextWidget) HelpText() string {
|
||||||
return fmt.Sprintf("\n There is no help available for this widget")
|
return fmt.Sprintf("\n There is no help available for widget %s", widget.CommonSettings.Module.Type)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -------------------- Unexported Functions -------------------- */
|
/* -------------------- Unexported Functions -------------------- */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user