diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs index 4dfe1d0..2a2070b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -135,15 +135,16 @@ fn print_event(event: &Event, ustart: bool, uend: bool) { }; println!( - " {}-{} {} {}", + " {}-{} {}\n {} {}", start.yellow(), end.yellow(), + event.calendar.cyan(), event.summary, event.location.purple() ); if !event.description.is_empty() { - let description = str::replace(&event.description, "\\n", &format!("\n{}", " ".repeat(16))); - println!("{}{}", " ".repeat(16), description.cyan()); + let description = str::replace(&event.description, "\\n", &format!("\n{}", " ".repeat(8))); + println!("{}{}", " ".repeat(8), description.cyan()); } } |