feat(diagnostic): change termwidth and with_cause_chain on GraphicalReportHandler

This commit is contained in:
Boshen 2023-03-26 21:35:42 +08:00
parent b65e8397de
commit 9487b3958e
No known key found for this signature in database
GPG key ID: 9C7A8C8AB22BEBD1

View file

@ -53,12 +53,12 @@ impl GraphicalReportHandler {
pub fn new() -> Self {
Self {
links: LinkStyle::Link,
termwidth: 600, // Changed: origin: 200
termwidth: 400, // Changed: origin: 200
theme: GraphicalTheme::default(),
footer: None,
context_lines: 1,
tab_width: 4,
with_cause_chain: true,
with_cause_chain: false,
}
}