hyper icon indicating copy to clipboard operation
hyper copied to clipboard

Clear-Host / cls does not work for Powershell

Open cdmihai opened this issue 6 years ago • 3 comments

  • [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: Windows 10 1809
  • Hyper.app version: 3.0.0 Canary 8
  • Link of a Gist with the contents of your .hyper.js: https://gist.github.com/cdmihai/665bc9ce0770f6ed4d24517bb6e680c7

Issue

Using Powershell, cls / Write-Host clears only the visible screen, not the entire console buffer. In a standalone Powershell console cls clears everything.

cdmihai avatar Mar 26 '19 23:03 cdmihai

Can you post me your Powershell script? I will test this tomorrow.

ppot avatar Mar 27 '19 01:03 ppot

Do both of these in Hyper and Powershell's native console:

  • git log -100. This ensures enough console spew
  • clear-host. On powershell's console this clears out all the buffer, you cannot scroll up to see the git log information. In hyper, it clears just the current screen and you can scroll up to read previous spew

cdmihai avatar Mar 27 '19 17:03 cdmihai

Same problem.

Any news?

SeryiBaran avatar Jul 10 '23 17:07 SeryiBaran