annotate-snippets-rs
annotate-snippets-rs copied to clipboard
Custom box drawing characters
This is split out of https://github.com/rust-lang/annotate-snippets-rs/issues/13#issuecomment-543321203
FormattedSnippet is public for alternate renderers to use, such as ones that want to use box drawing characters. The layout work is done (i.e. placing lines where they need to be) and all the renderer does is translate the structured output into io::Write calls.