keyhandler

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Shell

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

func Handle

func Handle(key key.Binding, cmd tea.Cmd, child tea.Model) *Shell

func (*Shell) Init

func (mdl *Shell) Init() tea.Cmd

func (*Shell) Update

func (mdl *Shell) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*Shell) View

func (mdl *Shell) View() string

type State

type State int

Jump to

Keyboard shortcuts

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