1
0
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:
Sean Smith 2019-05-11 20:00:35 -04:00
parent 9b8ce06990
commit 46c31103b8

View File

@ -120,7 +120,7 @@ func (widget *TextWidget) Redraw(title, text string, wrap bool) {
}
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 -------------------- */