MCPcopy
hub / github.com/mum4k/termdash / Copy

Method Copy

private/canvas/buffer/buffer.go:59–64  ·  view source on GitHub ↗

Copy returns a copy the cell.

()

Source from the content-addressed store, hash-verified

57
58// Copy returns a copy the cell.
59func (c *Cell) Copy() *Cell {
60 return &Cell{
61 Rune: c.Rune,
62 Opts: cell.NewOptions(c.Opts),
63 }
64}
65
66// Apply applies the provided options to the cell.
67func (c *Cell) Apply(opts ...cell.Option) {

Callers 9

CellMethod · 0.80
TestCellCopyFunction · 0.80
FadeInFunction · 0.80
FadeOutFunction · 0.80
ColorFadeInFunction · 0.80
ColorFadeOutFunction · 0.80
GlitchFunction · 0.80
ScanLineFunction · 0.80
ScrambleFunction · 0.80

Calls 1

NewOptionsFunction · 0.92

Tested by 1

TestCellCopyFunction · 0.64