diff options
-rw-r--r-- | src/main.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 64fdf05..bbc1973 100644 --- a/src/main.rs +++ b/src/main.rs @@ -129,6 +129,7 @@ fn print_event(event: &Event) { ); if !event.description.is_empty() { - println!(" {} {}", " ".repeat(11), event.description.cyan()); + let description = str::replace(&event.description, "\\n", &format!("\n{}", " ".repeat(16))); + println!("{}{}", " ".repeat(16), description.cyan()); } } |