runner

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClearEvent

type ClearEvent struct{}

type CloseViewerEvent

type CloseViewerEvent bool

type CmdFinishedEvent

type CmdFinishedEvent struct {
	CmdViewer *CmdViewer
}

type CmdRunner

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

func NewCmdRunner

func NewCmdRunner(w *app.Window, th *viewer.Theme, prompt bool, help string, command string, builtins map[string]builder.BuiltinCommandFunc) *CmdRunner

func (*CmdRunner) Events

func (c *CmdRunner) Events() []interface{}

func (*CmdRunner) Focus

func (c *CmdRunner) Focus()

func (*CmdRunner) Layout

func (c *CmdRunner) Layout(gtx layout.Context) layout.Dimensions

func (*CmdRunner) PrepareCommand

func (c *CmdRunner) PrepareCommand(cmd string)

type CmdStartedEvent

type CmdStartedEvent struct {
	CmdViewer *CmdViewer
}

type CmdViewer

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

func NewCmdViewer

func NewCmdViewer(th *viewer.Theme, cmd string, cl []*builder.MacroCommand, runner *CmdRunner) *CmdViewer

func (*CmdViewer) Events

func (cv *CmdViewer) Events() []interface{}

func (*CmdViewer) Kill

func (cv *CmdViewer) Kill()

func (*CmdViewer) Layout

func (cv *CmdViewer) Layout(gtx layout.Context) layout.Dimensions

type ExitEvent

type ExitEvent struct {
	ExitCode int
}

Jump to

Keyboard shortcuts

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