From 9487b3958eb2c987961230f2078caa567f239d1a Mon Sep 17 00:00:00 2001 From: Boshen Date: Sun, 26 Mar 2023 21:35:42 +0800 Subject: [PATCH] feat(diagnostic): change termwidth and with_cause_chain on GraphicalReportHandler --- crates/oxc_diagnostics/src/graphic_reporter.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/oxc_diagnostics/src/graphic_reporter.rs b/crates/oxc_diagnostics/src/graphic_reporter.rs index 2d259c23e..d40f8482d 100644 --- a/crates/oxc_diagnostics/src/graphic_reporter.rs +++ b/crates/oxc_diagnostics/src/graphic_reporter.rs @@ -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, } }