Skip to content

fix: process all data on_output, even when not terminated with newline #635

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

Merged
merged 2 commits into from
Jan 12, 2025

Conversation

msvechla
Copy link
Contributor

The current condition prematurely quits processing of data in on_output
in some edge-cases.

In these cases job:result() will have all data, but not everyting was
sent through the on_output pipes.

Closes #634

Thanks for your support, please let me know your thoughts!

The current condition prematurely quits processing of data in on_output
in some edge-cases.

In these cases `job:result()` will have all data, but not everyting was
sent through the `on_output` pipes.

Closes nvim-lua#634
@msvechla
Copy link
Contributor Author

@Conni2461 could you please trigger the CI for this? I re-enabled two related pending tests and they looked good locally.

Thanks a lot for your support!

@Conni2461 Conni2461 merged commit 3707cdb into nvim-lua:master Jan 12, 2025
7 checks passed
@Conni2461
Copy link
Collaborator

thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

job on_stdout is not retrieving all data
2 participants