errorbox

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorBox

type ErrorBox struct {
	common.Common
	common.SimpleHelp
	// contains filtered or unexported fields
}

func New

func New(c common.Common, errorMessage string) *ErrorBox

func (*ErrorBox) Init

func (b *ErrorBox) Init() tea.Cmd

func (*ErrorBox) IsFullWidthModal

func (b *ErrorBox) IsFullWidthModal()

func (*ErrorBox) SetSize

func (b *ErrorBox) SetSize(w, h int)

func (*ErrorBox) Update

func (b *ErrorBox) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*ErrorBox) View

func (b *ErrorBox) View() string

Jump to

Keyboard shortcuts

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