ZIm/crates/vim/src
Michael Sloan 8c55063417
Fix zed sometimes stopping by using setsid on interactive shells (#29070)
For some reason `SIGTTIN` sometimes gets sent to the process group,
causing it to stop when run from a terminal. This solves that issue by
putting the shell in a new session + progress group.

This allows removal of a workaround of using `exit 0;` to restore
handling of ctrl-c after exit. In testing this appears to no longer be
necessary.

Closes #27716

Release Notes:

- Fixed Zed sometimes becoming a stopped background process when run
from a terminal.
2025-04-18 15:04:26 -06:00
..
digraph Add Vim digraphs (#14887) 2024-07-28 22:44:32 -06:00
normal vim: Change line up and change line down respect indentation (#28934) 2025-04-17 20:51:24 -06:00
test vim: Add some forced motion support (#27991) 2025-04-11 11:12:30 -06:00
change_list.rs Add a way to navigate between changes (#28891) 2025-04-16 14:09:17 -06:00
command.rs Fix zed sometimes stopping by using setsid on interactive shells (#29070) 2025-04-18 15:04:26 -06:00
digraph.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
helix.rs Temporarily disable helix tests (#28279) 2025-04-07 21:50:35 +00:00
indent.rs vim: Add some forced motion support (#27991) 2025-04-11 11:12:30 -06:00
insert.rs vim: Add some forced motion support (#27991) 2025-04-11 11:12:30 -06:00
mode_indicator.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
motion.rs vim: Add some forced motion support (#27991) 2025-04-11 11:12:30 -06:00
normal.rs vim: Add some forced motion support (#27991) 2025-04-11 11:12:30 -06:00
object.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
replace.rs vim: Add some forced motion support (#27991) 2025-04-11 11:12:30 -06:00
rewrap.rs vim: Add some forced motion support (#27991) 2025-04-11 11:12:30 -06:00
state.rs vim: Add some forced motion support (#27991) 2025-04-11 11:12:30 -06:00
surrounds.rs vim: Add some forced motion support (#27991) 2025-04-11 11:12:30 -06:00
test.rs editor: Refactor EditorMode::Full (#28546) 2025-04-10 23:22:27 +00:00
vim.rs Add a way to navigate between changes (#28891) 2025-04-16 14:09:17 -06:00
visual.rs vim: Add some forced motion support (#27991) 2025-04-11 11:12:30 -06:00