components

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2026 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package components holds the reusable view pieces

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Input

func Input(prompt, placeholder string, limit int) textinput.Model

Types

type Confirm

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

func (*Confirm) Active

func (c *Confirm) Active() bool

func (*Confirm) Answer

func (c *Confirm) Answer(key string) (subject string, yes bool)

func (*Confirm) Ask

func (c *Confirm) Ask(question, subject string)

func (*Confirm) View

func (c *Confirm) View() string

Jump to

Keyboard shortcuts

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