struct

Phosphor::Diff

Inherits Struct < Value < Object

A single changed cell produced by Buffer#diff.

Carries the absolute terminal position and the new Cell value so the renderer can emit an ANSI cursor-move and write the cell without any further translation.

Constructors

new(x : Int32, y : Int32, cell : Cell)
Source

Instance methods

cell
clone
Source
copy_with(x _x = @x, y _y = @y, cell _cell = @cell)
Source
x
y