package color
Import Path
github.com/reeflective/readline/internal/color (on go.dev)
Dependency Relation
imports 4 packages, and imported by 9 packages
Involved Source Files
color.go
Package-Level Functions (total 6)
DisableEffects will disable all colors and effects.
Fmt formats a color code as an ANSI escaped color sequence.
HasEffects returns true if colors and effects are supported
on the current terminal.
Strip removes all ANSI escaped color sequences in a string.
Trim accepts a string including arbitrary escaped sequences at arbitrary
index positions, and returns the first 'n' printable characters in this
string, including all escape codes found between and immediately around
those characters (including surrounding 1st and 80th ones).
UnquoteRC removes the `\e` escape used in readline .inputrc
configuration values and replaces it with the printable escape.
Package-Level Variables (total 47)
Background colours.
Background colours.
Background colours.
Background colours.
Background colours.
Background colours.
Background colours.
Background colours.
Background colours.
Background colours.
Background colours.
Background colours.
Background colours.
Background colours.
Background colours.
Background colours.
Background colours.
Background colours.
Background colours.
Base text effects.
Base text effects.
Base text effects.
Effects reset.
Base text effects.
Base text effects.
Text colours.
Text colours.
Text colours.
Text colours.
Text colours.
Text colours.
Text colours.
Text colours.
Text colours.
Text colours.
Text colours.
Text colours.
Text colours.
Text colours.
Text colours.
Text colours.
Text colours.
Base text effects.
Base text effects.
Base text effects.
Base text effects.
Base text effects.
Package-Level Constants (total 4)
Text effects.
Text effects.
Text effects.
Text effects.
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |