-
Notifications
You must be signed in to change notification settings - Fork 0
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
Bug: Editor Opener doesn't work on vim #61
Comments
Reproducible example: Add the following test to
and run Result: Terminal will stay blocked |
Thanks for raising this bug. There are 3 cases to consider IMO
Sooo, as some GUI editors are not blocking, it already works for 1 and 2, but not for 3 (we don't know when the edition is done as we don't know when the GUI is closed). All TUI editors (nano/vi/vim/nvim/...) will block I guess so it's fine for 3, but for 1 we need a way to either launch a new terminal window first or for 1-2 reuse an existing instance... I tested to open nvim in a separated window with That's not a trivial issue... A few useful links
|
A quick fix could be an extra argument that tells the worker when it should consider the editor open
Ultimately we would have to define whose responsibility it is to know when to stop |
This is because it waits for the process to exit.
This was done with vscode and intellij in mind but it doesn't work with vim or nano
To simplify, I think we can assume that if the process launches, we can assume the editor was opened
What do you think @samuelroland ?
The text was updated successfully, but these errors were encountered: