color-backtrace icon indicating copy to clipboard operation
color-backtrace copied to clipboard

Colorful panic backtraces for Rust

Results 5 color-backtrace issues
Sort by recently updated
recently updated
newest added

have you thought to use `bat` to print highlighted source code ? like this ![image](https://user-images.githubusercontent.com/54772464/162052323-31f701e4-5280-4166-a67b-5ce92aa22911.png) can i make a pull request with this idea ?

enhancement

Is it possible to print the addresses for each line of backtrace?

enhancement

`std::error::Error` has an experimental support for [providing a backtrace](https://doc.rust-lang.org/std/error/trait.Error.html#method.backtrace) of type `std::backtrace::Backtrace`. However color-backtrace accepts only types `backtrace::Backtrace` and `failure::Backtrace` in its printing functions. Would it be possible to add...

enhancement

Currently panic handler colors std module into green and other modules into red, but in my opinion If add possibility to set user color for that match some pattern it...

enhancement

The [WriteColor](https://docs.rs/termcolor/1.1.2/termcolor/trait.WriteColor.html) trait is implemented for `&mut T`, so taking the writer by value is more idiomatic, as stated by [the Rust API Guidelines](https://rust-lang.github.io/api-guidelines/interoperability.html?#generic-readerwriter-functions-take-r-read-and-w-write-by-value-c-rw-value).