gilo/editor/row.go

16 lines
143 B
Go
Raw Normal View History

2021-03-30 16:05:33 -04:00
package editor
type row struct {
chars []rune
}
func NewRow() *row {
return &row {}
}
func (r *row) Size() int {
return len(r.chars)
}