normal

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Keymap added in v0.1.3

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

func (Keymap) FullHelp added in v0.1.3

func (k Keymap) FullHelp() [][]key.Binding

func (Keymap) ShortHelp added in v0.1.3

func (k Keymap) ShortHelp() []key.Binding

type Model

type Model struct {
	Mode views.Mode
	Keys Keymap
	// contains filtered or unexported fields
}

func New

func New(actors actors.ActorsMap, notifications notifications.Notifications, renderCache string, keymap config.Keymap, view config.View) Model

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) SelectedNotificationsFunc

func (m Model) SelectedNotificationsFunc(cb func(*notifications.Notification))

func (Model) Update

func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (Model) View

func (m Model) View() string

func (Model) VisibleLinesFunc

func (m Model) VisibleLinesFunc(cb func(string, int))

type OpenMessage added in v0.1.3

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

type SelectMsg

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

Jump to

Keyboard shortcuts

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