framerate

package
v0.0.0-...-03ee275 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Overview

Package framerate lets the user choose a framerate using multiple available methods.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

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

Model lets the user choose a framerate using multiple available methods

func NewModel

func NewModel() *Model

NewModel creates a new instance of Model.

func (*Model) Init

func (m *Model) Init() tea.Cmd

Init initializes the model

func (*Model) Update

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

Update handles I/O for this step

func (*Model) View

func (m *Model) View() string

View renders the model.

type Msg

type Msg int

Msg is used for issuing commands between updates

const (
	// MsgDone signals that this step is finished
	MsgDone Msg = iota
)

Jump to

Keyboard shortcuts

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