
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.
69 lines
2 KiB
TOML
69 lines
2 KiB
TOML
[package]
|
|
name = "vim"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
path = "src/vim.rs"
|
|
doctest = false
|
|
|
|
[features]
|
|
neovim = ["nvim-rs", "async-compat", "async-trait", "tokio"]
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
async-compat = { workspace = true, "optional" = true }
|
|
async-trait = { workspace = true, "optional" = true }
|
|
collections.workspace = true
|
|
command_palette.workspace = true
|
|
command_palette_hooks.workspace = true
|
|
db.workspace = true
|
|
editor.workspace = true
|
|
futures.workspace = true
|
|
gpui.workspace = true
|
|
itertools.workspace = true
|
|
language.workspace = true
|
|
log.workspace = true
|
|
multi_buffer.workspace = true
|
|
nvim-rs = { git = "https://github.com/KillTheMule/nvim-rs", branch = "master", features = ["use_tokio"], optional = true }
|
|
picker.workspace = true
|
|
project.workspace = true
|
|
regex.workspace = true
|
|
schemars.workspace = true
|
|
search.workspace = true
|
|
serde.workspace = true
|
|
serde_derive.workspace = true
|
|
serde_json.workspace = true
|
|
settings.workspace = true
|
|
task.workspace = true
|
|
text.workspace = true
|
|
theme.workspace = true
|
|
tokio = { version = "1.15", features = ["full"], optional = true }
|
|
ui.workspace = true
|
|
util.workspace = true
|
|
vim_mode_setting.workspace = true
|
|
workspace.workspace = true
|
|
zed_actions.workspace = true
|
|
workspace-hack.workspace = true
|
|
|
|
[dev-dependencies]
|
|
assets.workspace = true
|
|
command_palette.workspace = true
|
|
editor = { workspace = true, features = ["test-support"] }
|
|
git_ui.workspace = true
|
|
gpui = { workspace = true, features = ["test-support"] }
|
|
indoc.workspace = true
|
|
language = { workspace = true, features = ["test-support"] }
|
|
project = { workspace = true, features = ["test-support"] }
|
|
lsp = { workspace = true, features = ["test-support"] }
|
|
parking_lot.workspace = true
|
|
project_panel.workspace = true
|
|
release_channel.workspace = true
|
|
settings.workspace = true
|
|
util = { workspace = true, features = ["test-support"] }
|
|
workspace = { workspace = true, features = ["test-support"] }
|