helix-mirror/helix-term
Cyrill Schenkel 5b8bfc5476
Prevent shell_keep_pipe from stopping on nonzero exit status code (#9817)
The `shell_impl` and `shell_impl_async` functions no longer return
`success` because it was always `true`. If the command didn't succeed
both functions would return an `Err`.

This was also the reason, why `shell_keep_pipe` didn't work. It relied
upon the value of `success` and aborted in case of an `Err`.
It now removes any selection for which `shell_impl` returns `Err`.

If the command always fails, the selections are preserved and an error
message is displayed in the status bar.
2024-03-19 07:30:34 -05:00
..
src Prevent shell_keep_pipe from stopping on nonzero exit status code (#9817) 2024-03-19 07:30:34 -05:00
tests Fix panic in surround_replace/delete nested multi-cursor (#9815) 2024-03-08 02:20:07 +09:00
.gitignore Initial import. 2020-05-20 18:14:51 +09:00
build.rs Add icon to Windows executable (#9104) 2024-01-28 18:31:10 +09:00
Cargo.toml build(deps): bump open from 5.0.1 to 5.1.2 (#9854) 2024-03-12 14:41:40 +09:00