Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TUI ¶
type TUI struct {
// contains filtered or unexported fields
}
TUI is the application's tview terminal UI.
func (*TUI) ClearEvents ¶
func (t *TUI) ClearEvents()
ClearEvents removes all text from the event view.
func (*TUI) ClearInputText ¶
func (t *TUI) ClearInputText()
ClearInputText clears the current content of the input field.
func (*TUI) SetInputCapture ¶
func (t *TUI) SetInputCapture(captureFunc func(capture *tcell.EventKey) *tcell.EventKey)
SetInputCapture sets the capture function for key events in the input field.
func (*TUI) StopApp ¶
func (t *TUI) StopApp()
StopApp stops the application, causing RunApp() to return.
func (*TUI) WriteEvent ¶
WriteEvent writes messages to the event view. WriteEvent prepends a UTC timestamp and a short line prefix indicating if the message is information or an error.
Click to show internal directories.
Click to hide internal directories.