scripting

package
v0.9.10 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner

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

func RunScript

func RunScript(ctx *uicontext.MainContext, src string) (*Runner, tea.Cmd, error)

func (*Runner) Done

func (r *Runner) Done() bool

func (*Runner) HandleMsg

func (r *Runner) HandleMsg(msg tea.Msg) tea.Cmd

HandleMsg resumes the script if waiting for a matching message.

Jump to

Keyboard shortcuts

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