mirror of
https://github.com/nushell/nushell.git
synced 2025-02-23 05:51:28 +01:00
The `color-backtrace` crate does not seem to either handle the terminal
modes well or operate in a way that the unwinding has not yet succeeded
to reach the backup disablement of the terminal raw mode in
`reedline::Reedline`'s `Drop` implementation.
This reverts commit d838871063
.
Fixes #11029
This commit is contained in:
parent
415b1273b4
commit
0b25385109
11
Cargo.lock
generated
11
Cargo.lock
generated
@ -697,16 +697,6 @@ dependencies = [
|
|||||||
"encoding_rs",
|
"encoding_rs",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "color-backtrace"
|
|
||||||
version = "0.6.1"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "150fd80a270c0671379f388c8204deb6a746bb4eac8a6c03fe2460b2c0127ea0"
|
|
||||||
dependencies = [
|
|
||||||
"backtrace",
|
|
||||||
"termcolor",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "colorchoice"
|
name = "colorchoice"
|
||||||
version = "1.0.0"
|
version = "1.0.0"
|
||||||
@ -2658,7 +2648,6 @@ name = "nu"
|
|||||||
version = "0.86.1"
|
version = "0.86.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"assert_cmd",
|
"assert_cmd",
|
||||||
"color-backtrace",
|
|
||||||
"criterion",
|
"criterion",
|
||||||
"crossterm 0.27.0",
|
"crossterm 0.27.0",
|
||||||
"ctrlc",
|
"ctrlc",
|
||||||
|
@ -71,7 +71,6 @@ nu-utils = { path = "./crates/nu-utils", version = "0.86.1" }
|
|||||||
nu-ansi-term = "0.49.0"
|
nu-ansi-term = "0.49.0"
|
||||||
reedline = { version = "0.25.0", features = ["bashisms", "sqlite"] }
|
reedline = { version = "0.25.0", features = ["bashisms", "sqlite"] }
|
||||||
|
|
||||||
color-backtrace = "0.6.1"
|
|
||||||
crossterm = "0.27"
|
crossterm = "0.27"
|
||||||
ctrlc = "3.4"
|
ctrlc = "3.4"
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
|
@ -59,9 +59,6 @@ fn main() -> Result<()> {
|
|||||||
miette_hook(x);
|
miette_hook(x);
|
||||||
}));
|
}));
|
||||||
|
|
||||||
// This allows more intuitive backtraces
|
|
||||||
color_backtrace::install();
|
|
||||||
|
|
||||||
// Get initial current working directory.
|
// Get initial current working directory.
|
||||||
let init_cwd = get_init_cwd();
|
let init_cwd = get_init_cwd();
|
||||||
let mut engine_state = get_engine_state();
|
let mut engine_state = get_engine_state();
|
||||||
|
Loading…
Reference in New Issue
Block a user