package
0.0.13
Repository: https://github.com/nutrixpos/pos.git
Documentation: pkg.go.dev

# Functions

ToggleSelectedTreeElement takes a target index and a slice of PromptTreeElements and toggles the `Selected` field of the element at the target index and all of its children.
UpdateTreeSelection processes incoming messages and updates the state of the BubbleTeaSeedablesPrompter in tree selection mode.

# Structs

BubbleTeaSeedablesPrompter is a Prompter that uses the BubbleTea library to present interactive prompts to the user.
PromptTreeElement represents an element in the tree of choices.

# Interfaces

Prompter defines an interface for user interaction prompts.