bubbleviews

package module
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 License: MIT Imports: 1 Imported by: 2

README

bubbleviews

Actions Status Coverage Status PkgGoDev go-report

A simple view template for building an application with bubbletea.

At the same time a collection of views ready to use.

See example/main.go.

Build History

Build history

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EscPressedError added in v0.1.2

type EscPressedError struct{}

func (EscPressedError) Error added in v0.1.2

func (EscPressedError) Error() string

type ResponseMessage

type ResponseMessage interface {
	View() View
	OnResponse(ResponseMessage) tea.Cmd
}

type View

type View interface {
	Init() tea.Cmd
	Update(tea.Msg) tea.Cmd
	View() string
}

Directories

Path Synopsis
example module

Jump to

Keyboard shortcuts

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