Help us shape the future of Go! Take the 2026 Go Developer Survey

terminal

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2024 License: BSD-3-Clause Imports: 6 Imported by: 2

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
}

func NewTerminal

func NewTerminal(
	win window.Window,
	buf *buffer.Buffer,
	logger utils.Logger,
) Terminal

func (*Terminal) AddBuffer

func (terminal *Terminal) AddBuffer(buffer *buffer.Buffer)

func (Terminal) CurrentBuffer

func (terminal Terminal) CurrentBuffer() *buffer.Buffer

func (*Terminal) Draw

func (terminal *Terminal) Draw()

func (*Terminal) LoadPreviousBuffer

func (terminal *Terminal) LoadPreviousBuffer()

func (*Terminal) NewLine

func (terminal *Terminal) NewLine()

func (Terminal) PreviousBuffer

func (terminal Terminal) PreviousBuffer() buffer.Buffer

func (*Terminal) RedrawBuffer

func (terminal *Terminal) RedrawBuffer()

Jump to

Keyboard shortcuts

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