github.com/charmbracelet/ultraviolet.Cell.Width (field)
35 uses
github.com/charmbracelet/ultraviolet (current package)
buffer.go#L52: if pw := prev.Width; pw > 1 {
buffer.go#L62: if ww := wide.Width; ww > 1 && j < ww {
buffer.go#L81: cw := c.Width
buffer.go#L367: if c != nil && c.Width > 1 {
buffer.go#L368: cellWidth = c.Width
buffer.go#L409: x += max(c.Width, 1)
buffer.go#L441: width := c.Width
buffer.go#L711: if c != nil && c.Width > 0 {
buffer.go#L712: width = c.Width
buffer.go#L714: if p != nil && p.Width > 0 {
buffer.go#L715: width = max(width, p.Width)
cell.go#L12: var EmptyCell = Cell{Content: " ", Width: 1}
cell.go#L29: Width int
cell.go#L44: Width: method.StringWidth(gr),
cell.go#L57: c.Width == o.Width &&
cell.go#L71: return c != nil && c.Width == 0
cell.go#L85: c.Width = 1
styled.go#L149: cell.Width = width
styled.go#L164: if !truncate && x+cell.Width > bounds.Max.X && y+1 < bounds.Max.Y {
styled.go#L172: if truncate && tailc.Width > 0 && x+cell.Width > bounds.Max.X-tailc.Width {
styled.go#L179: x += tailc.Width
terminal_renderer.go#L517: if cell != nil && cell.Width == 0 {
terminal_renderer.go#L538: cellWidth = cell.Width
terminal_renderer.go#L606: if c.Width != 1 || len(c.Content) != 1 || c.Content != " " {
terminal_renderer.go#L820: if c == nil || c.Width == 0 || len(c.Content) == 0 {
terminal_renderer.go#L823: if c.Width > 1 || m.StringWidth(c.Content) != ansi.StringWidth(c.Content) {
terminal_renderer.go#L1043: } else if n >= firstCell && newLine.At(n) != nil && newLine.At(n).Width > 1 {
terminal_renderer.go#L1536: if cell != nil && cell.Width > 0 {
terminal_renderer.go#L1537: i += cell.Width - 1
terminal_renderer.go#L1549: if cell != nil && cell.Width > 0 {
terminal_renderer.go#L1551: i += cell.Width - 1
terminal_screen.go#L241: width := cell.Width
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64)