infobar

package
v0.0.0-...-931f8d9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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

type InfoBar struct {
	*tview.Box
	// contains filtered or unexported fields
}

InfoBar implements the info bar primitive.

func New

func New() *InfoBar

NewInfoBar returns info bar view.

func (*InfoBar) Draw

func (info *InfoBar) Draw(screen tcell.Screen)

Draw draws this primitive onto the screen.

func (*InfoBar) UpdateAccount

func (info *InfoBar) UpdateAccount(account string)

func (*InfoBar) UpdateAutoDecrypt

func (info *InfoBar) UpdateAutoDecrypt(text string)

UpdateAutoDecrypt updates Auto Decrypt value.

func (*InfoBar) UpdateBasicInfo

func (info *InfoBar) UpdateBasicInfo(pid int, version string, exePath string)

func (*InfoBar) UpdateDataKey

func (info *InfoBar) UpdateDataKey(key string)

func (*InfoBar) UpdateDataUsageDir

func (info *InfoBar) UpdateDataUsageDir(dataUsage string, dataDir string)

func (*InfoBar) UpdateHTTPServer

func (info *InfoBar) UpdateHTTPServer(server string)

UpdateHTTPServer updates HTTP Server value.

func (*InfoBar) UpdateImageKey

func (info *InfoBar) UpdateImageKey(key string)

func (*InfoBar) UpdatePlatform

func (info *InfoBar) UpdatePlatform(text string)

func (*InfoBar) UpdateSession

func (info *InfoBar) UpdateSession(text string)

func (*InfoBar) UpdateStatus

func (info *InfoBar) UpdateStatus(status string)

func (*InfoBar) UpdateWorkUsageDir

func (info *InfoBar) UpdateWorkUsageDir(workUsage string, workDir string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL