terminal

package
v0.0.0-...-04ad173 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Terminal

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

Terminal holds state for terminal based rendering

func New

func New(game ui.GameOfLife) *Terminal

New creates a new terminal UI game of life

func (*Terminal) Run

func (t *Terminal) Run()

Run starts the rendering and steps the game

Jump to

Keyboard shortcuts

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