ui

package
v1.0.36 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Modal(p tview.Primitive, width, height int, closeFn func()) tview.Primitive

modal to show in the middle of screen for any usage

func StyledForm

func StyledForm(title string) *tview.Form

Types

type Notice

type Notice struct {
	*tview.TextView
	// contains filtered or unexported fields
}

func NewNotice

func NewNotice(app *tview.Application, theme color.Colors) *Notice

func (*Notice) Error

func (n *Notice) Error(s string)

func (*Notice) Errorf

func (n *Notice) Errorf(s string, args ...interface{})

func (*Notice) Info

func (n *Notice) Info(s string)

func (*Notice) Infof

func (n *Notice) Infof(s string, args ...interface{})

func (*Notice) Warn

func (n *Notice) Warn(s string)

func (*Notice) Warnf

func (n *Notice) Warnf(s string, args ...interface{})

Jump to

Keyboard shortcuts

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