aminal/buffer/line.go

14 lines
203 B
Go

package buffer
type line struct {
wrapped bool // whether line was wrapped onto from the previous one
cells []Cell
}
func newLine() line {
return line{
wrapped: false,
cells: []Cell{},
}
}