terminal

package
v0.0.0-...-b0a459b Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Ouput buffer

Screen buffer Its not recommended write to buffer dirrectly, use package Print,Printf,Println functions instead.

Functions

func Clear

func Clear()

Clear screen

func Flush

func Flush()

Flush buffer and ensure that it will not overflow screen

func Height

func Height() int

Height gets console height

func MoveCursor

func MoveCursor(x int, y int)

MoveCursor move cursor to a given x,y position

func Print

func Print(a ...interface{}) (n int, err error)

Print using Fprint

func Printf

func Printf(format string, a ...interface{}) (n int, err error)

Printf uisng Fprintf

func Println

func Println(a ...interface{}) (n int, err error)

Println using Fprintln

func Width

func Width() int

Width gets console width

Types

This section is empty.

Jump to

Keyboard shortcuts

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