Terminal: find, zoom, scrollback, scroll keys, context menu, bell, link hover, OSC 52/7, cursor blink, stale selection

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-26 00:33:53 +00:00
parent fc5d3bc42b
commit 6832ec789e
32 changed files with 2260 additions and 194 deletions
@@ -224,8 +224,14 @@ class IndexAwareCircularBuffer<T extends IndexedItem> {
/// instead just adjusts the start index and length.
void trimStart(int count) {
if (count > _length) count = _length;
// The dropped items are detached and the rest keep their indexes, as a
// push that overflows does.
for (var i = 0; i < count; i++) {
_dropChild(i);
}
_startIndex += count;
_startIndex %= _array.length;
_absoluteStartIndex += count;
_length -= count;
}