Documentation
¶
Index ¶
- Constants
- type InfoBar
- func (info *InfoBar) Draw(screen tcell.Screen)
- func (info *InfoBar) UpdateAccount(account string)
- func (info *InfoBar) UpdateAutoDecrypt(text 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) UpdateImageKey(key string)
- func (info *InfoBar) UpdatePlatform(text string)
- func (info *InfoBar) UpdateSession(text string)
- func (info *InfoBar) UpdateStatus(status string)
- func (info *InfoBar) UpdateWorkUsageDir(workUsage string, workDir string)
Constants ¶
View Source
const (
InfoBarViewHeight = 8
)
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) Draw ¶
func (info *InfoBar) Draw(screen tcell.Screen)
Draw draws this primitive onto the screen.
func (*InfoBar) UpdateAccount ¶
func (*InfoBar) UpdateAutoDecrypt ¶
UpdateAutoDecrypt updates Auto Decrypt value.
func (*InfoBar) UpdateBasicInfo ¶
func (*InfoBar) UpdateDataKey ¶
func (*InfoBar) UpdateDataUsageDir ¶
func (*InfoBar) UpdateHTTPServer ¶
UpdateHTTPServer updates HTTP Server value.
func (*InfoBar) UpdateImageKey ¶
func (*InfoBar) UpdatePlatform ¶
func (*InfoBar) UpdateSession ¶
func (*InfoBar) UpdateStatus ¶
func (*InfoBar) UpdateWorkUsageDir ¶
Click to show internal directories.
Click to hide internal directories.