helper

package
v0.0.0-...-d48bf00 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ChatProgram *tea.Program

Functions

func CheckedStringHelper

func CheckedStringHelper(yes bool) string

func YesNoPrompt

func YesNoPrompt(label string) bool

Types

type HistoryManager

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

func NewHistoryManager

func NewHistoryManager() *HistoryManager

func (*HistoryManager) Add

func (h *HistoryManager) Add(text string)

func (*HistoryManager) Current

func (h *HistoryManager) Current() string

func (*HistoryManager) Length

func (h *HistoryManager) Length() int

func (*HistoryManager) Next

func (h *HistoryManager) Next() string

func (*HistoryManager) Previous

func (h *HistoryManager) Previous() string

Jump to

Keyboard shortcuts

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