Documentation
¶
Index ¶
- Constants
- type InfoBar
- func (info *InfoBar) Draw(screen tcell.Screen)
- func (info *InfoBar) UpdateAccount(account string)
- func (info *InfoBar) UpdateBasicInfo(pid int, version string, exePath string)
- func (info *InfoBar) UpdateDataKey(key string)
- func (info *InfoBar) UpdateDataUsageDir(dataUsage string, dataDir string)
- func (info *InfoBar) UpdateHTTPServer(server string)
- func (info *InfoBar) UpdateStatus(status string)
- func (info *InfoBar) UpdateWorkUsageDir(workUsage string, workDir string)
Constants ¶
View Source
const (
InfoBarViewHeight = 6
)
InfoBarViewHeight info bar height.
View Source
const (
Title = "infobar"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InfoBar ¶
InfoBar implements the info bar primitive.
func (*InfoBar) UpdateAccount ¶
func (*InfoBar) UpdateBasicInfo ¶
func (*InfoBar) UpdateDataKey ¶
func (*InfoBar) UpdateDataUsageDir ¶
func (*InfoBar) UpdateHTTPServer ¶
UpdateHTTPServer updates HTTP Server value.
func (*InfoBar) UpdateStatus ¶
func (*InfoBar) UpdateWorkUsageDir ¶
Click to show internal directories.
Click to hide internal directories.