Minor improvement

This commit is contained in:
Arijit Basu 2022-10-24 11:23:49 +05:30
parent 1d20039fae
commit 895d55ca23
No known key found for this signature in database
GPG Key ID: 0F8EF5258DC38077

View File

@ -989,9 +989,9 @@ fn draw_logs<B: Backend>(
.enumerate()
.map(|(i, line)| {
if i == 0 {
format!("{} {}", &prefix, line)
format!("{}: {}", &prefix, line)
} else {
format!("{} {}", &padding, line)
format!("{} {}", &padding, line)
}
})
.take(layout_size.height as usize)