inputqueue

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2025 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InputQueue

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

func MakeEmptyInputQueue

func MakeEmptyInputQueue() InputQueue

func MakeInputQueue

func MakeInputQueue(data []string) InputQueue

func MakeInputQueueFromString

func MakeInputQueueFromString(input string) InputQueue

func MakeInputQueueFromStringWithDelimiter

func MakeInputQueueFromStringWithDelimiter(input string, delimiter string) InputQueue

func MakeInputQueueWithLength

func MakeInputQueueWithLength(length int) InputQueue

func (*InputQueue) GetLine

func (inputQueue *InputQueue) GetLine(msg string) string

Pass msg without ': '

func (*InputQueue) GetLineFZF

func (InputQueue *InputQueue) GetLineFZF(prompt string, data []string) (string, error)

func (*InputQueue) GetLineFZFStruct

func (InputQueue *InputQueue) GetLineFZFStruct(prompt string, data []gofzf.Struct) (int, error)

func (*InputQueue) HasNext added in v0.0.3

func (InputQueue *InputQueue) HasNext() bool

Checks whether interactive UI like fzf or prompting will be loaded or not

Jump to

Keyboard shortcuts

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