-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Async job results only show up after the next keypress #402
Comments
Yeah I think it's an issue with |
Hm, sounds like this might be annoying to debug. Maybe I can check when the job's future is getting polled? Or maybe I should be spawning a task instead of just relying on the select macro? There is something in the select docs about that, but I have to admit that I don't fully understand the implications... Unfortunately I can't play with this tonight, but I'll try to do it sometime this weekend. |
I'm debugging it right now, the problem is that the stream future immediately returns
|
I pushed a temporary fix: 83e7dd8 Need to document this behavior and make sure to audit the event loop if any changes are made. |
I'll mark this as resolved for now. |
@jneem after #285, pressing
gd
orK
will appear as if nothing happened, then once the next input is enteredj
/k
etc. the view will refresh and the popup appears. It seems like a rendering issue, but it might benext_job
returning None too early.The text was updated successfully, but these errors were encountered: