src.elv.sh/pkg/cli/term.Buffer.Width (field)
17 uses
src.elv.sh/pkg/cli/term (current package)
buffer.go#L53: Width int
buffer.go#L68: return &Buffer{Width: width, Lines: [][]Cell{make([]Cell, 0, width)}}
buffer.go#L129: w := b.Width
buffer.go#L130: b.Width += b2.Width
buffer.go#L152: fmt.Fprintf(sb, "Width = %d, Dot = (%d, %d)\n", b.Width, b.Dot.Line, b.Dot.Col)
buffer.go#L154: sb.WriteString("┌" + strings.Repeat("─", b.Width) + "┐\n")
buffer.go#L179: if usedWidth < b.Width {
buffer.go#L180: sb.WriteString("$" + strings.Repeat(" ", b.Width-usedWidth-1))
buffer.go#L186: sb.WriteString("└" + strings.Repeat("─", b.Width) + "┘\n")
writer.go#L73: if buf.Width != w.curBuf.Width && w.curBuf.Lines != nil {
src.elv.sh/pkg/cli/tk
colview.go#L102: return &term.Buffer{Width: width}
colview.go#L106: return &term.Buffer{Width: width}
colview.go#L112: buf.Width += colViewColGap
listbox.go#L145: buf.Width += listBoxColGap
listbox.go#L148: buf.Width = width