ui

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2025 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

ui provides a text-based user interface (TUI) for the application.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Launch

func Launch(dirPath string) error

Launch starts the TUI with the given text prompt as a scrollable typing interface.

Types

type AppState

type AppState int

AppState represents the current state of the application.

const (
	// StateLoading indicates the application is loading resources.
	StateLoading AppState = iota
	// StateSession indicates an active typing session.
	StateSession
	// StateBreak indicates a break between typing sessions.
	StateBreak
	// StateReady indicates the application is ready for a new typing session.
	StateReady
)

Jump to

Keyboard shortcuts

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