hyper icon indicating copy to clipboard operation
hyper copied to clipboard

Screen not cleaning on 3.0

Open PolCPP opened this issue 7 years ago • 26 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.

  • Hyper.app version: 3.0.0 (stable)

  • The issue is reproducible in vanilla Hyper.app:

After updating to 3.0 Stable, (also happened previously on all the canary versions, just didn't bother to report it) both clear on bash or cls on cmd don't work correctly. I don't think this is a duplicate of #3147 since i never had problems with it on the 2.0 branch.

image

It happens randomly, sometimes it clears sometimes it doesn't, sometimes it clears partially like on that screenshot.

PolCPP avatar May 06 '19 10:05 PolCPP

This issue previously only occurred on resizing for me in WSL but now occurs whenever the buffer for the screen is changed in any way.

Can be reliably reproduced by just running ls; clear in WSL

Screen recording 2019-05-06 at 03 30 19 PM

cuuupid avatar May 06 '19 14:05 cuuupid

I'm currently seeing the same thing.

jcolesio avatar May 06 '19 15:05 jcolesio

Same happening here. Sure is a step up from the bug where a line was getting cut off at the bottom /s

Melanpan avatar May 06 '19 18:05 Melanpan

Yeah, same thing is happening for me as well. Usually just clicking on the screen a few times clears it up.

Machine-Maker avatar May 06 '19 19:05 Machine-Maker

This is an especially bad problem when using applications like vim or tmux which draw status bars.

mhall avatar May 06 '19 21:05 mhall

when I click on the screen after writing clear, it clears the terminal, but this is not convenient

snassour avatar May 07 '19 16:05 snassour

I'm having the same issue. I'm using git bash as the shell in windows.

Glenn-Jaya avatar May 07 '19 16:05 Glenn-Jaya

To quickly get rid of it, for now I do "control =" and "control -" to zoom in and out and it gets rid of it. Until it happens again.

Glenn-Jaya avatar May 07 '19 16:05 Glenn-Jaya

The same problem here, so far has anyone succeeded? i managed fix my configurations by following #3605 also, restore configurations file by default solving the clear problem, but when shell environment is changed to bash the clear problem returns.

vonmoraes avatar May 07 '19 23:05 vonmoraes

Seems like the only viable fix for now is to:

joristirado avatar May 08 '19 00:05 joristirado

@azefiel I agree. Judging from all the issues that have been popping up, I think v3 was rushed a bit. Downgrading is definitely a reasonable move.

See: https://github.com/zeit/hyper/issues/3604

MarxSoul55 avatar May 08 '19 00:05 MarxSoul55

Same problem here. Clear only clears part of terminal and varies with number of lines cleared on each re-run.

The cygwin env solution and webgl true solution don't work for me either. I'm on version 3.0.2.

The Ctrl + followed by Ctrl - solution does work but is tedious.

miklevin avatar May 31 '19 17:05 miklevin

same shit here really annoying

fluoridepsychosis avatar Jun 12 '19 17:06 fluoridepsychosis

Bad, bad timing with WSL 2 and Windows Terminal dropping later this month.

miklevin avatar Jun 13 '19 16:06 miklevin

  • windows 10 1803 - all work currently
  • windows 10 1809 - all bad :(
  • window 10 1903 - i am update my pc...

WeslyG avatar Jun 28 '19 19:06 WeslyG

And yep, i am update to 1903 my windows 10 and this bug disappeared. hyper 3.0.2 + WebGl image

WeslyG avatar Jun 28 '19 20:06 WeslyG

@WeslyG Good to know! Has anyone else gotten this fixed by upgrading to 1903?

MarxSoul55 avatar Jun 29 '19 02:06 MarxSoul55

UPDATE:

I'm now on Windows 10 v1903. I installed Hyper 3.0.2 (after uninstalling my previous version of 2.1.2) and ran Debian within WSL (WSL 1, not WSL 2). I ran into the bug again, however, I managed to fix it by setting webGLRenderer within .hyper.js like so:

webGLRenderer: false

So essentially the fix was a combination of 1903 + this config setting. Did this fix it for anyone else?

EDIT:

After some more testing, I found that when using nano, the bottom bar is not cleared from the terminal. Suffice to say, this fix isn't comprehensive, unfortunately.

MarxSoul55 avatar Jun 29 '19 07:06 MarxSoul55

Windows 1903 with Hyper 3.0.2 and webGLRenderer not fixed my problem.

hakanersu avatar Jul 04 '19 14:07 hakanersu

That's unfortunate. I would try to investigate more into this issue myself, but I'm a little short on free time. If anyone else comes to a solution, please let us know.

As a side note — I think it's a little concerning that such a basic issue has been open for 2 months now, and that there are several duplicates explaining the exact same issue. It makes me feel like Hyper isn't really being taken care of. I love Hyper, so I hope that isn't the case.

I hope this bug can be resolved, but I'm not sure it'll be anytime soon. In the meantime, I can suggest Terminus, as it doesn't suffer from this issue, and is quite nice overall. I also suggest looking into Microsoft's official terminal as well, although it's still very young.

Cheers!

MarxSoul55 avatar Jul 05 '19 08:07 MarxSoul55