Documentation ¶
Index ¶
- func EmitBlockSelectedMsg(blockNum uint64) tea.Cmd
- func EmitModuleSelectedMsg(moduleName string) tea.Cmd
- func ErrorCmd(err error) tea.Cmd
- func StyleConfig() gansi.StyleConfig
- func TruncateString(s string, max int) string
- type BlockSelectedMsg
- type Common
- type Component
- type ErrorMsg
- type ModalUpdateFunc
- type ModuleSelectedMsg
- type SetModalUpdateFuncMsg
- type UpdateSeenModulesMsg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EmitBlockSelectedMsg ¶ added in v1.1.1
func EmitModuleSelectedMsg ¶ added in v1.1.1
func StyleConfig ¶
func StyleConfig() gansi.StyleConfig
StyleConfig returns the default Glamour style configuration.
func TruncateString ¶
TruncateString is a convenient wrapper around truncate.TruncateString.
Types ¶
type BlockSelectedMsg ¶ added in v1.1.1
type BlockSelectedMsg uint64 // Emitted to inform all components that a new block has been selected.
type ModuleSelectedMsg ¶ added in v1.1.1
type ModuleSelectedMsg string // Emitted to inform all components that a new module has been selected.
type SetModalUpdateFuncMsg ¶ added in v1.1.1
type SetModalUpdateFuncMsg ModalUpdateFunc
type UpdateSeenModulesMsg ¶ added in v1.1.1
type UpdateSeenModulesMsg []string
Click to show internal directories.
Click to hide internal directories.