Christopher Durham
70e84f9a01
fix(handler): Apply MietteHandlerOpts::graphical_theme ( #138 )
...
Fixes: https://github.com/zkat/miette/issues/134
2022-03-18 16:30:00 -07:00
Christopher Durham
209275d437
fix(colors): handler_opts.color(false) should disable color ( #133 )
2022-03-17 20:35:45 -07:00
Moritz Mœller
5d23c0d61d
fix(docs): Docs overhaul ( #124 )
...
* Fixed/formatted all intradoc links. Various other small doc fixes/typography/etc.
* Clarified semantic similarity with anyhow/eyre types/macros.
* Removed unused MietteError::SetPrinterFailure.
* README now generaed from lib.rs via `cargo readme`.
* More doc fixes, made ErrorHook type public.
* Indentation (docs).
2022-02-25 08:39:18 -08:00
Kat Marchán
5c085b39e2
fix(graphical): boolean was messing up graphical display
2022-02-17 22:25:05 -08:00
Kat Marchán
9dcce5f1bd
fix(colors): treat no-color mode as no-color instead of narratable ( #94 )
...
Fixes: https://github.com/zkat/miette/issues/93
BREAKING CHANGE: NO_COLOR no longer triggers the narrated handler. Use
NO_GRAPHICS instead.
2022-01-08 09:11:19 -08:00
Kat Marchán
51146535f5
fix(deps): switch to terminal_size
2022-01-07 17:47:56 -08:00
Kirill Vasiltsov
1f70140c2e
feat(tabs): Add replace tabs with spaces option ( #82 )
...
Fixes: https://github.com/zkat/miette/issues/73
2021-10-05 21:05:57 -07:00
Kat Marchán
bb25edf019
docs: fix doctests
2021-09-26 13:00:39 -07:00
Kat Marchán
47e4d4d05c
docs: add docs for handler options
2021-09-26 12:45:18 -07:00
Kat Marchán
b33084bdbf
feat(handler): context lines config support
2021-09-22 16:34:21 -07:00
Kat Marchán
4bb9d12102
feat(handlers): Update graphical handler to use new label protocol ( #66 )
2021-09-22 16:34:21 -07:00
Kat Marchán
93374173e3
feat(footer): add footer support to graphical and narrated
...
Fixes: https://github.com/zkat/miette/issues/34
2021-09-22 16:34:21 -07:00
Kat Marchán
4c2463f9ae
feat(report): make a single big MietteHandler that can switch modes
...
BREAKING CHANGE: linkification option method on GraphicalReportHandler has been changed to .with_links(bool)
2021-09-22 16:34:21 -07:00