Copy returns a copy the cell.
()
| 57 | |
| 58 | // Copy returns a copy the cell. |
| 59 | func (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. |
| 67 | func (c *Cell) Apply(opts ...cell.Option) { |