zkat / miette

Fancy extension for std::error::Error with pretty, detailed diagnostic printing.
https://docs.rs/miette
Apache License 2.0
2.03k stars 116 forks source link

Remove bar from wrapped lines #311

Open gavrilikhin-d opened 1 year ago

gavrilikhin-d commented 1 year ago

As you can see in the screenshot, miette puts a | after wrapping long lines. Looks like a bug

image
skarab42 commented 6 months ago

I don't think it's a bug, it makes more sense when there are more lines, but I can see why it looks odd when there's only one. Maybe it should be displayed only if there are more than two lines?

miette

zkat commented 6 months ago

the bug seems to me the fact that it's not aligning correctly with the line above it.

skarab42 commented 6 months ago

Clearly the pipe offset could be fixed. I'll give it a try.