internal

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Display

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

func NewDisplay

func NewDisplay(id string) *Display

func (*Display) DisplayHeader

func (d *Display) DisplayHeader()

func (*Display) DisplayInput

func (d *Display) DisplayInput(text string)

DisplayInput displays the user input.

func (*Display) DisplayOutput

func (d *Display) DisplayOutput(text string)

DisplayOutput displays an output fragment.

func (*Display) FinishOutput

func (d *Display) FinishOutput(info string)

FinishOutput completes the streaming output and shows info if provided

func (*Display) PromptForApproval

func (d *Display) PromptForApproval(question string) (bool, error)

PromptForApproval shows an accept/reject dialog Returns true if accepted, false if rejected, and an error if cancelled (Ctrl+C)

func (*Display) PromptForInput

func (d *Display) PromptForInput() (string, error)

PromptForInput shows the input box and returns the user input Returns the input string and an error if the user cancelled (Ctrl+C)

func (*Display) ShowResumption

func (d *Display) ShowResumption(id string, server string)

Jump to

Keyboard shortcuts

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