display

package
v0.20.2-0...-4e77218 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BigCharWidth  = 3
	BigCharHeight = 5
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Point

type Point struct {
	// Terminal Coordinate
	X, Y   int
	Fg, Bg termbox.Attribute
}

func (Point) BigChar

func (p Point) BigChar(ch rune)

func (Point) BigStr

func (p Point) BigStr(s string)

func (Point) Char

func (p Point) Char(ch rune)

func (Point) Pattern

func (p Point) Pattern(pattern [BigCharHeight]string)

func (Point) ProgressBar

func (p Point) ProgressBar(length, cur, total int)

func (Point) Str

func (p Point) Str(s string)

Jump to

Keyboard shortcuts

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