Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Helix fails to redraw on Linux console #5979

Closed
atagen opened this issue Feb 14, 2023 · 3 comments
Closed

Helix fails to redraw on Linux console #5979

atagen opened this issue Feb 14, 2023 · 3 comments
Labels
C-bug Category: This is a bug

Comments

@atagen
Copy link

atagen commented Feb 14, 2023

Summary

When using helix from Linux console in certain environments (not terminal emulators, actual kernel console) it doesn't appear to screen clear properly on open. Every non-occupied character space is still filled with whatever junk was at that position already. This leaves hx almost unusable unless you spam the screen to forcibly clear all those positions.

First encountered on NixOS's install ISO. Annoyingly, this doesn't appear to reproduce on an installed machine.
While a redraw command (as discussed in issue #4350) would solve the issue, this inability to reproduce in an installed environment leads me to believe this might be worth its own bug report.

Other editors tested such as Neovim, Vim, Nano, etc. appear to work fine in this case.

I understand this is a bit of an esoteric issue, please let me know if there's something I can do to better demonstrate or inform on this.

Reproduction Steps

I tried this:

  1. hx /etc/nixos/configuration.nix

I expected this to happen:
An editor opens containing only the contents of the file

Instead, this happened:
A big mess of scrollback and code

Helix log

No response

Platform

Linux

Terminal Emulator

None

Helix Version

22.12

@atagen atagen added the C-bug Category: This is a bug label Feb 14, 2023
@CptPotato
Copy link
Contributor

CptPotato commented Feb 14, 2023

I ran into this issue a while ago, but assumed I just didn't configure something correctly. In the end I ignored it since I don't use helix outside of some desktop environment or window manager anymore.

I think I can still reliably reproduce this, though.

@icecreammatt
Copy link

icecreammatt commented Mar 13, 2023

I'm running into this too. I bound a hotkey to open lazygit when I do g which works but then when quitting the screen is partially in a bad state. I'd like a screen redraw to occur after the run-shell-command process completes.

This is happening on Mac in WezTerm

@DyBev
Copy link

DyBev commented May 5, 2023

Can confirm still occurs, not immediately understood that it's an issue with the console vs helix, might be worth noting it somewhere until there is a fix / workaround for it.
Fedora is the OS .

@helix-editor helix-editor locked and limited conversation to collaborators Apr 14, 2024
@pascalkuthe pascalkuthe converted this issue into discussion #10408 Apr 14, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
C-bug Category: This is a bug
Projects
None yet
Development

No branches or pull requests

4 participants