Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clear command in window #3147

Open
polodev opened this issue Aug 1, 2018 · 5 comments
Open

clear command in window #3147

polodev opened this issue Aug 1, 2018 · 5 comments

Comments

@polodev
Copy link

polodev commented Aug 1, 2018

facing problem with clear command in windows. new text written on top of old text

@khucgo
Copy link

khucgo commented Aug 4, 2018

workaround: use cls

@dominikseger
Copy link

Im using the git shell with hyper and facing the same problem. Furthermore the cls command doesnt work for me.

@deniszo
Copy link

deniszo commented Aug 28, 2018

seems like a duplication of closed #2813
@polodev I suppose you're using git bash.
In Hyper version 2.0.0 or above you could try setting hyper env variable TERM by editing preferences:

// in .hyper.js
env: { 
  TERM: 'cygwin'
}

and reload Hyper. This fixed the problem for me
@Phpadawan please also give it a try

@tracker1
Copy link

not working for me (bash), added the following to my ~/.profile

alias cls="printf '\033[2J'"

@tracker1
Copy link

tracker1 commented Feb 1, 2019

Okay, it didn't respect the config setting in ~/.hyper.js but I added the environment variable into my ~/.profile which did seem to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants