termbackground

package
v2.7.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2026 License: Apache-2.0, MIT Imports: 2 Imported by: 0

Documentation

Overview

Package termbackground decides when the terminal is asked for its background color.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Detect

func Detect()

Detect asks the terminal for its background color. Call it before running a Bubble Tea program, because a running program reads the terminal's reply itself.

Types

This section is empty.

Jump to

Keyboard shortcuts

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