fix: ctrl+c in tty

This commit is contained in:
Nova
2023-06-21 01:47:10 -04:00
parent 927e1c48e2
commit 668c32f583
3 changed files with 34 additions and 7 deletions

21
Cargo.lock generated
View File

@@ -149,6 +149,17 @@ dependencies = [
"syn 2.0.15",
]
[[package]]
name = "atty"
version = "0.2.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
dependencies = [
"hermit-abi 0.1.19",
"libc",
"winapi",
]
[[package]]
name = "autocfg"
version = "1.1.0"
@@ -899,6 +910,15 @@ version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
[[package]]
name = "hermit-abi"
version = "0.1.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33"
dependencies = [
"libc",
]
[[package]]
name = "hermit-abi"
version = "0.2.6"
@@ -2007,6 +2027,7 @@ dependencies = [
name = "stardust-xr-server"
version = "0.42.0"
dependencies = [
"atty",
"clap",
"color-eyre",
"console-subscriber",