package display

import "mpldr.codes/ansi/display"

Index

Package Files

content.go linebuffer.go type.go

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)
Version
v1.5.0 (latest)
Published
Dec 6, 2021
Platform
linux/amd64
Imports
5 packages (graph)
Last checked
2 months ago

Tools for package owners.