terminal

package
v0.0.0-...-6fc82a4 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2022 License: MIT Imports: 16 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 is the main entry struct for the terminal based operation. It is also the communication bridge between the terminal and the fluid solver.

func New

func New() *Terminal

New creates a new terminal.

func (*Terminal) Init

func (t *Terminal) Init() *Terminal

Init initializes the terminal.

func (*Terminal) Render

func (t *Terminal) Render()

Render runs the fluid simulation in terminal, updates the screen periodically, handles the mouse and key events and also draws and updates the fluid particles.

Jump to

Keyboard shortcuts

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