## Description When using Reline in VS Code terminal, if the user scrolls up to see previous output, some of them would be gobbled. ### Examples In this IRB example, some previous prompts and "parts" of the if condition disappeared when scrolling up: https://github.com/ruby/reline/assets/5079556/ddc77f8b-55c6-4cd5-bb70-13a60d4603fa Similar issues happen with Reline's `bin/example` as well. You can see the previous echoed values disappeared. https://github.com/ruby/reline/assets/5079556/5115be9e-83ae-4265-8184-f9382f0b244e ## Terminal Emulator I tested the above examples with ZSH in both iTerm2 and VS Code terminal, and the problem only happens in VS Code Terminal. (Edit: it also happens when using `bash` in VS Code terminal)