vercel / vercel/hyper

Using "clear" command doesn't clear the screen buffer

Open
#2,093 12 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

🖼 Platform: Windows
Dominant language
TypeScript
Stars
44.7k
Forks
3.6k
Avg merge
21m
Merged PRs (30d)
1

Description

Using the clear command doesn't clear the screen buffer.

This happens in both these situations:

  • Using the clear command through linux commands added to the path with git installation.
  • Connected to a linux vagrant machine through ssh

Using "cls" command (while in DOS prompt) works fine.

Screenshot:
2017-08-17_10h41_06

Hyper 1.3.3
Electron 1.4.16
win32 x64 10.0.15063

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

Reproduce the issue in Hyper 1.3.3 on Windows using the clear command from Git-installed Linux tools and through SSH to a Linux Vagrant machine, then compare it with cls. Trace the terminal screen-buffer handling and verify that clear removes the visible screen and its buffer without breaking normal terminal output.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, typescript
Domain
cli, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.