framebuffer

package
v0.0.0-...-ad3cfc1 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2019 License: LGPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package framebuffer stores the current terminal state and return the ansi sequences require to transform the current state to the new one

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Framebuffer

type Framebuffer struct {
	area.Area
	// contains filtered or unexported fields
}

Framebuffer is an Area that retains the state since the last time Changes was called. It is responsability of the implementator to call Changes() periodically (as of 60 frames per second) or sync manually after each change.

func (*Framebuffer) Changes

func (fb *Framebuffer) Changes() []byte

Changes will return the ansi sequence

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳