Use better box drawing characters

This commit is contained in:
Brendan Zabarauskas
2019-05-30 12:19:07 +10:00
parent 85cd39e4a0
commit 591e7565eb
+4 -4
View File
@@ -70,11 +70,11 @@ where
// File name
//
// ```
// - <test>:2:9
// ┌╴ <test>:2:9
// ```
writer.set_color(&gutter_spec)?;
write!(writer, "{: >width$} - ", "", width = gutter_padding)?;
write!(writer, "{: >width$} ┌╴ ", "", width = gutter_padding)?;
writer.reset()?;
write!(
writer,
@@ -91,7 +91,7 @@ where
// │
// 2 │ (+ test "")
// │ ^^ Expected integer but got string
//
//
// ```
let start_line_span = file.line_span(start_line).expect("line_span");
@@ -202,7 +202,7 @@ where
writer.reset()?;
writer.set_color(&gutter_spec)?;
write!(writer, "{: >width$} ", "", width = gutter_padding)?;
write!(writer, "{: >width$} ", "", width = gutter_padding)?;
write!(writer, "\n")?;
writer.reset()?;
},