-
Notifications
You must be signed in to change notification settings - Fork 54
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
Terminal mode: When checking if there is a process attached to terminal, it should not block neovim instance #60
Comments
Note to people using
|
(Posible solution?)... If we do a background non-blocking We will need to create new functions for checking status of files like how the codemodel targets are obatined... Since the solution is cmake specific solution, I think this will be a decent solution without the explicit |
Okay, hopefully someone can anwser it. 😄 |
Seems like this can be accomplished by writing a dummy query into a file. @Civitasv, do you have any idea how we may do this? |
I've researched some plugins about terminal, cannot find a suitable solution to get notified when terminal executes commands successfully. But I find another way, See it at #63. |
Nice! That is a simple and effective solution :D |
Currently, I use these codes to check if there is a process is finished, which is need to chain callback.
https://github.com/Civitasv/cmake-tools.nvim/blob/3e5f768977a7825e70335feff2cfac56e54ac33b/lua/cmake-tools/terminal.lua#LL542C1-L560C6
But this will block neovim instance, we should find a non-blocking or async way to check this.
The text was updated successfully, but these errors were encountered: