Property SourceVersion
SourceVersion
A monotonic version of the Pixels contents, used only by the Kitty source-crop path
to decide whether the resident image must be re-transmitted. The source-crop path keeps the full
image resident in the terminal and pans/zooms it with placement updates; it re-transmits when this
version changes. Hosts (e.g. ImageView) should bump it whenever the pixel contents change —
including when the same array instance is reused for a new render, which a reference
comparison alone would miss.
public int SourceVersion { get; set; }