modeswap

package
v2.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

package modeswap provides an IColor-conforming type Color that renders differently if in low-color mode

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Color

type Color struct {
	// contains filtered or unexported fields
}

func New

func New(hi, mid, lo gowid.IColor) *Color

func (*Color) ToTCellColor

func (c *Color) ToTCellColor(mode gowid.ColorMode) (gowid.TCellColor, bool)

Jump to

Keyboard shortcuts

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