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

Outputting Terminal Color Codes to stdin on exit #2742

Closed
canadiannomad opened this issue Jun 10, 2022 · 4 comments
Closed

Outputting Terminal Color Codes to stdin on exit #2742

canadiannomad opened this issue Jun 10, 2022 · 4 comments
Labels
C-bug Category: This is a bug

Comments

@canadiannomad
Copy link

canadiannomad commented Jun 10, 2022

Summary

When I load a file in helix, and exit, sometimes helix will pause for 4-5 seconds at the ":w
This isn't consistent, but certainly happens frequently for me.
I'm on a MacBook Air 12.3.1 using iTerm2 .. I built helix from master with rustc 1.63.0-nightly
This has happened on earlier versions as well.

Reproduction Steps

  1. hx file.rs
  2. Make change
  3. :wq<enter>

Screen Shot 2022-06-10 at 14 31 23

4. Wait 4-5 seconds... (correction 21+ seconds)

Screen Shot 2022-06-10 at 14 31 23

5. Screen finally clears and bell sounds and can see (Different every time)

Screen Shot 2022-06-10 at 14 47 57

Screen Shot 2022-06-10 at 14 35 32

or something similar in the terminal sitting at the bash prompt.

Helix log

helix.txt

Platform

macOS 12.3.1

Terminal Emulator

iTerm2 Build 3.5.0beta5

Helix Version

helix 22.05 (fc666db)

@canadiannomad canadiannomad added the C-bug Category: This is a bug label Jun 10, 2022
@canadiannomad
Copy link
Author

Correction, sometimes it sits there waiting to exit for 21+ seconds on an empty file... When it does decide to wait, at all, then is always outputs those character codes.

@the-mikedavis
Copy link
Member

I think this is #2059 but I haven't seen the terminal code part before.

@anzhi0708
Copy link

anzhi0708 commented Jun 24, 2022

I think this is #2059 but I haven't seen the terminal code part before.

:3 Hi, #2059 author here, I confirm that this actually happened to me too...
I think I mentioned somewhere , probably in some older issue I created :3 quote myself 'During the freezing time, keyboard input seemed to be recorded (and sent to stdin)'

@dead10ck
Copy link
Member

This is probably a combination of #2059 and #2863. The latter was fixed in #4081 and the former is a duplicate, so I'm going to close this. Feel free to say if you disagree.

@dead10ck dead10ck closed this as not planned Won't fix, can't repro, duplicate, stale Mar 10, 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
Projects
None yet
Development

No branches or pull requests

4 participants