<!-- ⚠️ Please search existing issues to avoid creating duplicates. ⚠️ --> <!-- Describe the bug here. --> ## Details - Browser and browser version: VSCode 1.100.3 - OS version: macOS 14.5 - xterm.js version: 5.6.0-beta.107 ### Steps to reproduce 1. VSCode terminal, After scrollback limit exceeded 2. `xterm.raw.buffer.active.getLine(xtermBufferLength)`, will get the first line instead of last line (sometimes)