Skip to content

Commit

Permalink
Revert "add color-backtrace crate (nushell#10942)" (nushell#11032)
Browse files Browse the repository at this point in the history
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 d838871.

Fixes nushell#11029
  • Loading branch information
sholderbach authored Nov 11, 2023
1 parent 415b127 commit 0b25385
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 15 deletions.
11 changes: 0 additions & 11 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ nu-utils = { path = "./crates/nu-utils", version = "0.86.1" }
nu-ansi-term = "0.49.0"
reedline = { version = "0.25.0", features = ["bashisms", "sqlite"] }

color-backtrace = "0.6.1"
crossterm = "0.27"
ctrlc = "3.4"
log = "0.4"
Expand Down
3 changes: 0 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@ fn main() -> Result<()> {
miette_hook(x);
}));

// This allows more intuitive backtraces
color_backtrace::install();

// Get initial current working directory.
let init_cwd = get_init_cwd();
let mut engine_state = get_engine_state();
Expand Down

0 comments on commit 0b25385

Please sign in to comment.