vercel / vercel/hyper

Unable to prevent CSI from clearing scrollback

Open
#7,065 0 comments 0 reactions 0 assignees View on GitHub

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

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.