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

Screen not cleaning on 3.0 #3596

Open
PolCPP opened this issue May 6, 2019 · 26 comments
Open

Screen not cleaning on 3.0 #3596

PolCPP opened this issue May 6, 2019 · 26 comments

Comments

@PolCPP
Copy link

PolCPP commented May 6, 2019

  • [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.

@cuuupid
Copy link

cuuupid commented May 6, 2019

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

@jcolesio
Copy link

jcolesio commented May 6, 2019

I'm currently seeing the same thing.

@Melanpan
Copy link

Melanpan commented May 6, 2019

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

@Machine-Maker
Copy link

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

@mhall
Copy link

mhall commented May 6, 2019

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

@snassour
Copy link

snassour commented May 7, 2019

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

@Glenn-Jaya
Copy link

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

@Glenn-Jaya
Copy link

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.

@vonmoraes
Copy link

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.

@joristirado
Copy link

Seems like the only viable fix for now is to:

@MarxSoul55
Copy link

@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: #3604

@miklevin
Copy link

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.

@fluoridepsychosis
Copy link

same shit here really annoying

@miklevin
Copy link

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

@WeslyG
Copy link

WeslyG commented Jun 28, 2019

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

@WeslyG
Copy link

WeslyG commented Jun 28, 2019

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

@MarxSoul55
Copy link

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

@MarxSoul55
Copy link

MarxSoul55 commented Jun 29, 2019

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.

@hakanersu
Copy link

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

@MarxSoul55
Copy link

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!

@XinRoom
Copy link

XinRoom commented Jul 5, 2019

Has anyone tried my method? This requires a change upstream, and recompile. I wonder if it works for others.

#3641 (comment)

@PolCPP
Copy link
Author

PolCPP commented Jul 5, 2019

I can suggest Terminus, as it doesn't suffer from this issue, and is quite nice overall.

Not really actually they had the same issue for like 2 years... just a little less annoying

@fluoridepsychosis
Copy link

Terminus is unbearably slow and bloated even for an electron program

@MarxSoul55
Copy link

MarxSoul55 commented Jul 6, 2019

@PolCPP Ah, I didn't know about that, since I don't use git-bash. With regular bash, it works fine, at least for me. Regardless, thanks for the heads up! 👍

@fluoridepsychosis To each their own, I suppose. I haven't had any issues with bloat/speed, but then again, I'm fortunate enough to have a beefy machine.

@XinRoom Interesting! I'll have to try this out later on when I'm less busy — I'm not sure when that'll be though. Can someone else verify that his method works?

@DeanGalvin
Copy link

For reference, this is still an issue. Tried several workarounds found online to no avail.

@JoshuaSmeda
Copy link

JoshuaSmeda commented Oct 20, 2020

Just an update: Problem still persists.

You can manually force a buffer clear by running: ctrl shift k but this is not a ideal solution.

Running latest build on Windows:
image

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