contentGeneration
Generation for retained cell content and terminal-owned row mapping, including off-screen history. Cell, cluster, stored attribute, wrap, resize, scroll, reset, and buffer changes advance this value; cursor and caller-requested viewport changes do not need to. Compare for equality, since generations can wrap.
The default conservatively includes all visual changes. Implementations with separate content tracking should override this to let consumers reuse work across cursor-only frames. Generations are local to one content source. Global presentation changes such as reverse video may preserve this value, but must change lineGeneration for every row whose rendered attributes change.