Vendored alacritty_terminal RowId patch¶
vendor/alacritty_terminal is upstream alacritty_terminal 0.26.1 with one focused change:
- every
Rowhas a stableu64identity; Row::resetassigns a new identity (recycled storage is a new logical line);Storage::swapuses the safe row swap so identity moves with the row;Grid::row_id(Line)andGrid::find_row_id(u64)expose identity;- split reflow keeps the original id on the first segment; merged/evicted rows lose it and consumers must drop the placement explicitly.
The upstream source is Apache-2.0; the license file is included. The patch is applied through
.cargo/config.toml; Cargo.lock pins alacritty_terminal 0.26.1.
This is intentionally not a public alacritty fork dependency: the patch is vendored and reproducible inside this repository.