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 terminal after switching to alternate screen #1944

Merged
merged 1 commit into from
Apr 4, 2022

Conversation

rosefromthedead
Copy link
Contributor

@rosefromthedead rosefromthedead commented Apr 3, 2022

when using helix over mosh, the screen doesn't get cleared and
characters get left all over the place until they are overwritten. with
this change, the screen gets properly cleared as soon as helix starts

edit: fwiw, this seems to be because mosh doesn't handle alternate screens at all. I can still see the editor ui after it has quit, so I guess mosh is at fault here, but making the change on this side is way easier

when using helix over mosh, the screen doesn't get cleared and
characters get left all over the place until they are overwritten. with
this change, the screen gets properly cleared as soon as helix starts
Copy link
Member

@archseer archseer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable, thanks 👍🏻

@archseer archseer merged commit f8c83f9 into helix-editor:master Apr 4, 2022
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

Successfully merging this pull request may close these issues.

None yet

2 participants