Skip to content

Commit d1f5682

Browse files
committed
fix(hok): print ending newline for error report
Signed-off-by: Chawye Hsu <su+git@chawyehsu.com>
1 parent 3b50494 commit d1f5682

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ fn error<T: Display>(input: &T) -> io::Result<()> {
2828
.execute(SetForegroundColor(Color::Red))?
2929
.execute(Print("ERROR "))?
3030
.execute(SetForegroundColor(Color::Reset))?
31-
.execute(Print(input))?;
31+
.execute(Print(input))?
32+
.execute(Print("\n"))?;
3233
Ok(())
3334
}
3435

0 commit comments

Comments
 (0)