github.com/charmbracelet/ultraviolet.Line.At (method)
47 uses
github.com/charmbracelet/ultraviolet (current package)
buffer.go#L51: if prev = l.At(x); prev != nil { //nolint:nestif
buffer.go#L61: if wide := l.At(x - j); wide != nil {
buffer.go#L101: func (l Line) At(x int) *Cell {
buffer.go#L292: return b.Lines[y].At(x)
terminal_renderer.go#L628: for n > 1 && !cellEqual(line.At(0), line.At(1)) {
terminal_renderer.go#L629: s.putCell(newbuf, line.At(0))
terminal_renderer.go#L641: for count < n && cellEqual(line.At(count), &cell0) {
terminal_renderer.go#L683: s.putCell(newbuf, line.At(i))
terminal_renderer.go#L695: s.putCell(newbuf, line.At(i))
terminal_renderer.go#L711: oldCell, newCell := oldLine.At(j), newLine.At(j)
terminal_renderer.go#L751: c := curline.At(j)
terminal_renderer.go#L791: s.putAttrCell(newbuf, line.At(i))
terminal_renderer.go#L819: c := line.At(i)
terminal_renderer.go#L855: if c := newLine.At(x); c != nil && !c.isWidePlaceholder() && !cellEqual(c, blank) {
terminal_renderer.go#L860: s.putCell(newbuf, newLine.At(x))
terminal_renderer.go#L897: blank := newLine.At(0)
terminal_renderer.go#L904: if !cellEqual(oldLine.At(oFirstCell), blank) {
terminal_renderer.go#L909: if !cellEqual(newLine.At(nFirstCell), blank) {
terminal_renderer.go#L919: cellEqual(oldLine.At(firstCell), newLine.At(firstCell)) {
terminal_renderer.go#L946: for firstCell < newbuf.Width() && cellEqual(newLine.At(firstCell), oldLine.At(firstCell)) {
terminal_renderer.go#L956: blank = newLine.At(newbuf.Width() - 1)
terminal_renderer.go#L960: for nLastCell > firstCell && cellEqual(newLine.At(nLastCell), oldLine.At(nLastCell)) {
terminal_renderer.go#L980: for oLastCell > firstCell && cellEqual(oldLine.At(oLastCell), blank) {
terminal_renderer.go#L987: for nLastCell > firstCell && cellEqual(newLine.At(nLastCell), blank) {
terminal_renderer.go#L993: if !cellEqual(newLine.At(firstCell), blank) {
terminal_renderer.go#L994: s.putCell(newbuf, newLine.At(firstCell))
terminal_renderer.go#L998: !cellEqual(newLine.At(nLastCell), oldLine.At(oLastCell)) {
terminal_renderer.go#L1015: for cellEqual(newLine.At(nLastCell), oldLine.At(oLastCell)) {
terminal_renderer.go#L1016: if !cellEqual(newLine.At(nLastCell-1), oldLine.At(oLastCell-1)) {
terminal_renderer.go#L1036: wide := newLine.At(n + 1)
terminal_renderer.go#L1043: } else if n >= firstCell && newLine.At(n) != nil && newLine.At(n).Width > 1 {
terminal_renderer.go#L1044: next := newLine.At(n + 1)
terminal_renderer.go#L1048: next = newLine.At(n + 1)
terminal_renderer.go#L1149: ok = cellEqual(newLine.At(col), blank)
terminal_renderer.go#L1156: ok = cellEqual(oldLine.At(col), blank)
terminal_renderer_hashmap.go#L281: if !cellEqual(from.At(fidx), to.At(tidx)) {
terminal_renderer_hashmap.go#L293: if !cellEqual(blank, to.At(tidx)) {