Lines Matching +full:wrap +full:- +full:ansi
16 /// Use RGB colors instead of ANSI if the terminal supports RGB
18 /// Always use ANSI, regardless of terminal support for RGB
23 fn default() -> RgbColors { in default()
62 pub fn new() -> Self { in new()
67 /// clickable links in supported terminals. Defaults to auto-detection
69 pub fn terminal_links(mut self, linkify: bool) -> Self { in terminal_links()
78 pub fn graphical_theme(mut self, theme: GraphicalTheme) -> Self { in graphical_theme()
83 /// Sets the width to wrap the report at. Defaults to 80.
84 pub fn width(mut self, width: usize) -> Self { in width()
89 /// Include the cause chain of the top-level error in the report.
90 pub fn with_cause_chain(mut self) -> Self { in with_cause_chain()
95 /// Do not include the cause chain of the top-level error in the report.
96 pub fn without_cause_chain(mut self) -> Self { in without_cause_chain()
110 pub fn color(mut self, color: bool) -> Self { in color()
124 pub fn rgb_colors(mut self, color: RgbColors) -> Self { in rgb_colors()
131 pub fn unicode(mut self, unicode: bool) -> Self { in unicode()
138 pub fn force_graphical(mut self, force: bool) -> Self { in force_graphical()
144 pub fn force_narrated(mut self, force: bool) -> Self { in force_narrated()
150 pub fn footer(mut self, footer: String) -> Self { in footer()
156 pub fn context_lines(mut self, context_lines: usize) -> Self { in context_lines()
162 pub fn tab_width(mut self, width: usize) -> Self { in tab_width()
168 pub fn build(self) -> MietteHandler { in build()
205 _ => ThemeStyles::ansi(), in build()
210 _ => ThemeStyles::ansi(), in build()
242 pub(crate) fn is_graphical(&self) -> bool { in is_graphical()
256 pub(crate) fn use_links(&self) -> bool { in use_links()
265 pub(crate) fn get_width(&self) -> usize { in get_width()
278 pub(crate) fn get_width(&self) -> usize { in get_width()
285 quasi-graphical way, using terminal colors, unicode drawing characters, and
304 pub fn new() -> Self { in new()
310 fn default() -> Self { in default()
316 fn debug(&self, diagnostic: &(dyn Diagnostic), f: &mut fmt::Formatter<'_>) -> fmt::Result { in debug()