Documentation ¶
Index ¶
- Constants
- func SetupTui(project app.IProject)
- func Stop()
- type Action
- type ActionName
- type ColumnID
- type FullScrState
- type LogView
- func (l *LogView) AddLines(lines []string)
- func (l *LogView) Flush()
- func (l *LogView) GetTailLength() int
- func (l *LogView) GetUniqueID() string
- func (l *LogView) IsWrapOn() bool
- func (l *LogView) SearchNext()
- func (l *LogView) SearchPrev()
- func (l *LogView) SetLines(lines []string)
- func (l *LogView) ToggleWrap()
- func (l *LogView) WriteString(line string) (n int, err error)
- type ShortCuts
- type StateSorter
Constants ¶
View Source
const ( ActionLogScreen = ActionName("log_screen") ActionFollowLog = ActionName("log_follow") ActionWrapLog = ActionName("log_wrap") ActionLogSelection = ActionName("log_select") ActionProcessStart = ActionName("process_start") ActionProcessInfo = ActionName("process_info") ActionProcessStop = ActionName("process_stop") ActionProcessRestart = ActionName("process_restart") ActionProcessScreen = ActionName("process_screen") ActionQuit = ActionName("quit") ActionLogFind = ActionName("find") ActionLogFindNext = ActionName("find_next") ActionLogFindPrev = ActionName("find_prev") ActionLogFindExit = ActionName("find_exit") )
View Source
const ( LogFull FullScrState = 0 ProcFull = 1 LogProcHalf = 2 )
View Source
const ( PageMain = "main" PageDialog = "dialog" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ActionName ¶ added in v0.24.0
type ActionName string
type FullScrState ¶ added in v0.17.0
type FullScrState int
type LogView ¶ added in v0.10.0
func NewLogView ¶ added in v0.10.0
func (*LogView) GetTailLength ¶ added in v0.43.1
func (*LogView) GetUniqueID ¶ added in v0.43.1
func (*LogView) SearchNext ¶ added in v0.45.0
func (l *LogView) SearchNext()
func (*LogView) SearchPrev ¶ added in v0.45.0
func (l *LogView) SearchPrev()
func (*LogView) ToggleWrap ¶ added in v0.10.0
func (l *LogView) ToggleWrap()
type ShortCuts ¶ added in v0.24.0
type ShortCuts struct {
ShortCutKeys map[ActionName]*Action `yaml:"shortcuts"`
}
type StateSorter ¶ added in v0.50.0
type StateSorter struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.