Hyper: clear command in window

Created on 2 Aug 2018  路  5Comments  路  Source: vercel/hyper

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

Most helpful comment

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

All 5 comments

workaround: use cls

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

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

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

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

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aem picture aem  路  3Comments

cilice picture cilice  路  3Comments

eoinmurray picture eoinmurray  路  3Comments

dbkaplun picture dbkaplun  路  3Comments

sarneeh picture sarneeh  路  3Comments