Help us shape the future of Go! Take the 2026 Go Developer Survey

keybindingbar

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() tea.Model

New builds the footer keybinding bar.

Types

type Model

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

KeybindingBar is a single-line footer that shows which compose file the app resolved and the keys available right now.

It does not decide what is available. AppModel resolves one keys.Context per frame and sends it down as cmds.SetKeyContextMsg; the bar renders that and nothing else. It used to mirror a dozen pieces of screen state and rebuild the context itself, which is a second answer to a question that has one right answer - and the two drifted.

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) Update

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

func (Model) View

func (m Model) View() tea.View

Jump to

Keyboard shortcuts

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