()
| 98 | let followScroll: FollowScroll | null = null |
| 99 | |
| 100 | export function consumeFollowScroll(): FollowScroll | null { |
| 101 | const f = followScroll |
| 102 | followScroll = null |
| 103 | return f |
| 104 | } |
| 105 | |
| 106 | // ── Native terminal drain (iTerm2/Ghostty/etc. — proportional events) ── |
| 107 | // Minimum rows applied per frame. Above this, drain is proportional (~3/4 |