tui

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2026 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(version string) (bool, error)

Start launches the TUI. The boolean return tells the caller whether to re-exec itself — true after a self-update, so the new binary replaces the running one before the process exits.

Types

type Screen

type Screen int

Screen identifies the currently visible TUI screen. The bubble-tea Update loop dispatches key events and renders views through screen-specific handlers registered in tui.go's init().

const (
	ScreenMainMenu Screen = iota
	ScreenDashboard
	ScreenCategories
	ScreenWarnRecycleBin
	ScreenWarnDuplicates
	ScreenCategoryInfo
	// Quarantine deletion confirmations
	ScreenConfirmDeleteQuarantine
	ScreenConfirmDeleteAllQuarantine
	ScreenDeletingQuarantine
	ScreenConfirm
	ScreenCleaning
	ScreenResult
	ScreenRestoreConflict
	ScreenError
	ScreenRestore
	ScreenDoctor
	ScreenConfig
	ScreenConfigPresets
	ScreenQuarantineSettings
	ScreenLanguage
	ScreenAdminPrompt
	ScreenUpdateAvailable
	ScreenUpdating
	ScreenNoUpdate
	ScreenPathSettings
)

Jump to

Keyboard shortcuts

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