tui

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitializeTUI

func InitializeTUI()

InitializeTUI prepares the terminal environment for TUI applications. It checks for environment variables that force color output (`CLICOLOR_FORCE`, `COLORTERM`) and sets the appropriate lipgloss color profile when present.

This ensures consistent color and styling when running TUIs in non-interactive or CI environments (e.g., when testing with 'tend'), while having no effect in production environments where these variables are not set.

It is recommended to call this function at the start of your TUI application's main function.

Types

This section is empty.

Directories

Path Synopsis
utils

Jump to

Keyboard shortcuts

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