-
Notifications
You must be signed in to change notification settings - Fork 142
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
Strange behavior when returning from CTRL-Z - 5.24.0 #253
Comments
this situation seems to happen occasionally ?
sometimes I have also encountered #249 (comment), in this broken state:
some research:
|
@yurenchen000 I can replicate it each time. I must just not touch the mouse then it should be fine. I'm running Windows 11 with Windows Terminal 1.16 xterm-256color. |
sorry, I never test it on windows (and didn't expect it to work on windows). I'm not sure is client or server problem, can you try it
associate #249 |
@yurenchen000 I tried the same in Putty and I do not experience this problem. It's happens only when I using Windows Terminal in my environment from my Windows 11 host. |
I try it on windows,
Client: A temporary workaround here: can you try if it solved the problem? |
@yurenchen000 I compiled your test branch. I was not able to trigger the problem using the dev binary anymore. |
I just noticed that Windows Terminal updated to 1.17 from last week, and now it is much harder to trigger the issue. |
It seems that:
|
I can confirm that after fg press ↑ quickly may easier to trigger |
and, |
Not avoid. Just harder to trigger. |
I didn't trigger again after this temp patch:
can you explain how to trigger it (and the environment) ? maybe sleep 1 sec is long enough for signal dispatch |
I think it's about race condition of
(so sleep can improve the situation |
fg
I went back to gdu. I pressed CTRL-Z to drop to shell again, then the following happened:**
**
Moving the mouse keeps appending to the shell:
This happened on Centos 7 inside bash.
The text was updated successfully, but these errors were encountered: