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

inspect

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleKeys

func HandleKeys(h Host, msg tea.KeyMsg) (tea.Model, tea.Cmd)

HandleKeys routes keys while browsing the skill file tree.

Types

type Host

type Host interface {
	TeaModel() tea.Model
	TransitionTo(session.State) bool
	FlashFooter(string) tea.Cmd
	SyncSelectionPreview() tea.Cmd
	PreviewUpdate(tea.KeyMsg) tea.Cmd
	TreeUpdate(tea.Msg) (list.FileTree, tea.Cmd)
	TreeSelected() list.TreeNode
	PreviewFileCmd(path string) tea.Cmd
}

Host exposes inspect-mode needs from the app Model.

Jump to

Keyboard shortcuts

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