tui

package
v0.0.0-...-bd05e56 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Running bool = false

Functions

func Contains

func Contains(arr []rune, x rune) bool

func IsFullRune

func IsFullRune(r rune) bool

for black value calculation

func NewStationScreen

func NewStationScreen(station stations.Station, day time.Time) *stationScreen

func SortEventsByStart

func SortEventsByStart(events []stations.Event) []stations.Event

func TuiLoop

func TuiLoop() error

Types

type Area

type Area struct {
	Lt Point
	Rb Point
}

type Point

type Point struct {
	X int
	Y int
}
var InvalidPoint Point = Point{-1, -1}

func (Point) Add

func (p Point) Add(x int, y int) Point

Jump to

Keyboard shortcuts

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