statusbar

package
v0.0.0-...-74501cb Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Normal Mode = "NOR"
	Insert      = "INS"
	Select      = "SEL"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Mode

type Mode string

type Model

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

func New

func New() Model

func (Model) Init

func (m Model) Init() tea.Cmd

func (*Model) InsertMode

func (m *Model) InsertMode()

func (*Model) NormalMode

func (m *Model) NormalMode()

func (*Model) SelectMode

func (m *Model) SelectMode()

func (*Model) SetOpenBuffer

func (m *Model) SetOpenBuffer(path string)

func (Model) Update

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

func (Model) View

func (m Model) View() string

Jump to

Keyboard shortcuts

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