Documentation ¶
Index ¶
Constants ¶
View Source
const InvalidResultCode = 999
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Widget ¶
type Widget struct { view.TextWidget PreparedTemplate *template.Template // the test template shared across the refreshes // contains filtered or unexported fields }
func NewWidget ¶
func NewWidget(tviewApp *tview.Application, redrawChan chan bool, settings *Settings) *Widget
NewWidget creates and returns an instance of Widget
func (*Widget) FormatResult ¶
Format the parsed results accordingly to the app style
func (*Widget) PrepareTemplate ¶
func (widget *Widget) PrepareTemplate()
Prepare the text template at the moment of the widget creation and stores it in the widget instance
Click to show internal directories.
Click to hide internal directories.