package display
import "mpldr.codes/ansi/display"
Index ¶
- type Display
- func (d *Display) InsertLine(position int, content string)
- func (d *Display) Update(str ...string)
- func (d *Display) UpdateLine(index int, content string)
- type LineBuffer
Types ¶
type Display ¶
type Display struct {
// contains filtered or unexported fields
}
func (*Display) InsertLine ¶
func (*Display) Update ¶
func (*Display) UpdateLine ¶
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.