term

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2018 License: MIT Imports: 12 Imported by: 0

README

Term

GoDoc Sourcegraph Go Report Card

Heavily forked from github.com/nsf/termbox-go so that it only handles writing data.

At least ctrl+c works, now!

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clear

func Clear() error

Clear clears the terminal.

func Close

func Close()

Close should be called before the process exits.

func Flush

func Flush() error

Flush writes any changed data to the screen.

func Init

func Init() error

Init starts up the library.

func Set

func Set(x, y int, ch rune)

Set puts the character at position x,y to be the given rune.

func Size

func Size() (width int, height int)

Size returns the size of the terminal.

Types

This section is empty.

Jump to

Keyboard shortcuts

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