helix/helix-term/src
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
..
commands Prevent `shell_keep_pipe` from stopping on nonzero exit status code (#9817) 2024-03-19 07:30:34 -05:00
handlers fix LSP ComplitionTriggerKind value for `TriggerKind::Auto` (#9660) 2024-02-19 13:58:17 +01:00
keymap toggling of block comments (#4718) 2024-02-27 22:36:25 +09:00
ui Optimize getting a relative path 2024-03-19 14:39:46 +09:00
application.rs LSP: Normalize diagnostic file paths 2024-02-26 00:12:43 +09:00
args.rs Fallback to filename for +arg (#9333) 2024-01-14 15:11:18 +01:00
commands.rs Prevent `shell_keep_pipe` from stopping on nonzero exit status code (#9817) 2024-03-19 07:30:34 -05:00
compositor.rs add redraw command (#6949) 2023-09-08 10:46:36 +09:00
config.rs feat: smart_tab 2023-08-01 09:41:42 -05:00
events.rs Add hook/event system 2024-01-23 11:20:19 +09:00
handlers.rs refactor completion and signature help using hooks 2024-01-23 11:20:19 +09:00
health.rs Add glob file type support (#8006) 2024-02-11 18:24:20 +01:00
job.rs Add hook/event system 2024-01-23 11:20:19 +09:00
keymap.rs Allow numbers as second input event (#8471) 2024-02-14 11:53:15 +01:00
lib.rs follow neovim's truecolor detection (#9577) 2024-02-11 18:38:09 +01:00
main.rs Add glob file type support (#8006) 2024-02-11 18:24:20 +01:00