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

Suspending helix leaves state in terminal #6154

Closed
rcorre opened this issue Mar 2, 2023 · 2 comments
Closed

Suspending helix leaves state in terminal #6154

rcorre opened this issue Mar 2, 2023 · 2 comments
Labels
C-bug Category: This is a bug R-duplicate Duplicated issue: please refer to the linked issue

Comments

@rcorre
Copy link
Contributor

rcorre commented Mar 2, 2023

Summary

When I suspend helix with ctrl+z, it leaves a bunch of UI elements in the terminal, such as line numbers and sometimes the bottom-right keyhint dialog. I also see control sequences like ^[[?6c.
ctrl+z also takes several seconds to exit the application, and fg takes several seconds to restore.

Reproduction Steps

I tried this:

  1. hx
  2. ctrl+z

I expected this to happen:

I see what what previously in my terminal

Instead, this happened:

[rco3re@midgar agos]$ fg
hx s2enes/Spell.gd
    1        (             )
   12   
[1]+  Stopped                 hx scenes/Spell.gd
[rcorre@midgar agos]$ 
    3
    4
    5
    6
    7
    8
    9
    0
    1
    2
    3
    4
    5
    6
    7
    8
   19
    0

Helix log

~/.cache/helix/helix.log
please provide a copy of `~/.cache/helix/helix.log` here if possible, you may need to redact some of the lines
[helix.log](https://github.com/helix-editor/helix/files/10867014/helix.log)

Platform

Linux

Terminal Emulator

st 0.8.5

Helix Version

22.12-313-gac75cdec (bad)
22.12-294-g6494fc1d (good)

@rcorre rcorre added the C-bug Category: This is a bug label Mar 2, 2023
@rcorre
Copy link
Contributor Author

rcorre commented Mar 2, 2023

The culprit appears to be a066815 Enable the enhanced keyboard protocol if supported

@the-mikedavis
Copy link
Member

Duplicate of #6149

@the-mikedavis the-mikedavis marked this as a duplicate of #6149 Mar 2, 2023
@the-mikedavis the-mikedavis closed this as not planned Won't fix, can't repro, duplicate, stale Mar 2, 2023
@the-mikedavis the-mikedavis added the R-duplicate Duplicated issue: please refer to the linked issue label Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug R-duplicate Duplicated issue: please refer to the linked issue
Projects
None yet
Development

No branches or pull requests

2 participants