ansimpldr.codes/ansi/display Index | Files

package display

import "mpldr.codes/ansi/display"

Index

Types

type Display

type Display struct {
	// contains filtered or unexported fields
}

func (*Display) InsertLine

func (d *Display) InsertLine(position int, content string)

func (*Display) Update

func (d *Display) Update(str ...string)

func (*Display) UpdateLine

func (d *Display) UpdateLine(index int, content string)

type LineBuffer

type LineBuffer struct {
	// contains filtered or unexported fields
}

LineBuffer is the type containing written lines.

func (*LineBuffer) Add

func (lb *LineBuffer) Add(text string)

func (*LineBuffer) Set

func (lb *LineBuffer) Set(line int, text string)

Source Files

content.go linebuffer.go type.go

Version
v1.5.0 (latest)
Published
Dec 6, 2021
Platform
linux/amd64
Imports
5 packages
Last checked
1 week ago

Tools for package owners.