1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00
wtf/wtf/wtfable.go
Chris Cummer b07f3c5e67 Reimpliments the module configuration validation
Now supports displaying errors from multiple widgets.
2019-07-07 16:04:43 -07:00

24 lines
325 B
Go

package wtf
import (
"github.com/wtfutil/wtf/cfg"
"github.com/rivo/tview"
)
type Wtfable interface {
Enabler
Scheduler
BorderColor() string
ConfigText() string
FocusChar() string
Focusable() bool
HelpText() string
Name() string
SetFocusChar(string)
TextView() *tview.TextView
CommonSettings() *cfg.Common
}