notification

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2026 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendQuestion

func SendQuestion(
	ctx context.Context,
	writeEscape notify.EscapeWriter,
	isTerminalFocused func() bool,
	workspace *work.Space,
	question ask.Question,
) (notify.Notification, error)

func SendTurnError

func SendTurnError(
	ctx context.Context,
	writeEscape notify.EscapeWriter,
	isTerminalFocused func() bool,
	workspace *work.Space,
	failure error,
) error

Types

type Questions added in v0.12.0

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

func NewQuestions added in v0.12.0

func NewQuestions(
	writeEscape notify.EscapeWriter,
	isTerminalFocused func() bool,
	workspace *work.Space,
) *Questions

func (*Questions) Announce added in v0.12.0

func (self *Questions) Announce(question ask.Question) func()

func (*Questions) WithdrawAll added in v0.12.0

func (self *Questions) WithdrawAll(within time.Duration)

Jump to

Keyboard shortcuts

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