status

package
v0.62.2 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2026 License: MIT Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StatusManager

type StatusManager struct {
	// contains filtered or unexported fields
}

StatusManager's job is to handle queuing of loading states and toast notifications that you see at the bottom left of the screen.

func NewStatusManager

func NewStatusManager() *StatusManager

func (*StatusManager) AddToastStatus

func (self *StatusManager) AddToastStatus(message string, kind types.ToastKind) int

func (*StatusManager) GetStatusString

func (self *StatusManager) GetStatusString(userConfig *config.UserConfig) (string, gocui.Attribute)

func (*StatusManager) HasStatus

func (self *StatusManager) HasStatus() bool

func (*StatusManager) WithWaitingStatus

func (self *StatusManager) WithWaitingStatus(message string, renderFunc func(), f func(*WaitingStatusHandle) error) error

type WaitingStatusHandle added in v0.41.0

type WaitingStatusHandle struct {
	// contains filtered or unexported fields
}

Can be used to manipulate a waiting status while it is running (e.g. pause and resume it)

func (*WaitingStatusHandle) Hide added in v0.41.0

func (self *WaitingStatusHandle) Hide()

func (*WaitingStatusHandle) Show added in v0.41.0

func (self *WaitingStatusHandle) Show()

Jump to

Keyboard shortcuts

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