Unable to prevent CSI from clearing scrollback
aadityajshah opened this issue · comments
AJ Shah commented
- [x ] I am on the latest Hyper.app version
- [ x] I have searched the issues of this repo and believe that this is not a duplicate
- OS version and name: macOS Ventura 13.2.1
- Hyper.app version: 3.4.1
- Link of a Gist with the contents of your hyper.json: https://gist.github.com/aadityajshah/a929fb9a4f7b1d1d3f006623fb35bd5e.js
- Relevant information from devtools (CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere): NA
- The issue is reproducible in vanilla Hyper.app: Reproducible with Vanilla
Issue
When running certain commands, the screen is getting cleared, and scrollback is prevented.
According the the V100 Manual, it's due to the ED Escape sequence being set to 3: https://www.vt100.net/docs/vt100-ug/chapter3.html#ED
There is additional information here: https://unix.stackexchange.com/questions/318262/bash-clear-command-weird-behavior-deletes-scrollback-buffer
Being able to stop the scrollback clearing would be amazing. This is a setting in iTerm "Prevent CSI 3 J from clearing scrollback history"