-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Writes are interrupted when suspending #10765
Comments
C-z (the |
I think that would be a huge improvement! One thing to add, I'm pretty sure this is only happening for my I think a lot of people are using autoformat on save, and go has a fairly fast toolchain for that. I imagine I'm not the only one with this problem, although I haven't been able to find any other reports of this issue. |
@PotatoesFall can you try my commit, let me know if it's working as expected. |
Hey @lpoirothattermann thanks so much for taking the time to help out! I feel it's rude to just make another MR while yours is active but I saw there was some criticism on your MR and I had some time today and wanted to take a stab at this myself. Apologies. |
No problem :) |
Summary
First of all thank you to everybody who has been working on this fantastic editor ❤️
When I save a file in the editor (usually using Space-W), and then immediately suspend (using C-z), the file is sometimes not written. Only when I then use
fg
to resume helix, is the file saved.Since suspending is a big part of my workflow, this has messed me up countless times because my recent changes weren't working (because they weren't saved)
It would be awesome if any save actions are still executed even if helix is suspended. Is that possible?
Reproduction Steps
I tried this:
hx {file}
:w
C-z
I expected this to happen:
File was saved with new changes
Instead, this happened:
File was not saved
Helix log
~/.cache/helix/helix.log
Platform
Fedora Linux 39
Terminal Emulator
alacritty 0.13.2
Installation Method
source
Helix Version
helix 24.3 (2cadec0)
The text was updated successfully, but these errors were encountered: