Unable to prevent CSI from clearing scrollback
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 44.7k
- Forks
- 3.6k
- Avg merge
- 21m
- Merged PRs (30d)
- 1
Description
- [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"
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No repository file or test is named. Start by locating Hyper's handling of the CSI 3 J escape sequence and review the linked VT100 ED documentation and iTerm setting for context. Done means the requested option prevents CSI 3 J from clearing scrollback in vanilla Hyper.app.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100