Terminal: Screen clear/reset command (`clear` / `cls`) does not clear the terminal buffer properly (WSL)
Open
- Dominant language
- TypeScript
- Stars
- 193k
- Forks
- 42.4k
- PR merge metrics
- PR metrics pending
Description
- VS Code Version: 1.134.0 (user setup)
- OS Version: Windows 11 / 10 using WSL (e.g., Ubuntu 22.04 LTS via WSL2)
Steps to Reproduce:
1. Open VS Code and open an integrated terminal connected to a WSL profile (`bash` / `zsh`).
2. Run commands (e.g., `ls -la`, `top`, or long script outputs) to fill the terminal buffer.
3. Execute `clear`, press `Ctrl+L`, or run `reset`.
4. Scroll up or observe the viewport—the output remains partially visible, garbled, or fails to clear the scrollback buffer properly.
Contributor guide
Assessment
This issue has not been assessed yet.