- Once scrollback is full its length stops growing while writes keep evicting lines, so the preserved viewport drifted toward the tail; fall back to counting written newlines at the cap - Parse config.ghostty before config so config wins conflicts, matching Ghostty's own load order