lfos / calcurse

A text-based calendar and scheduling application
https://calcurse.org
BSD 2-Clause "Simplified" License
990 stars 93 forks source link

Strikethrough completed appointments #416

Open mpldr opened 2 years ago

mpldr commented 2 years ago

It would be great for the daily overview to have the already completed (meaning: it's after the set endtime) entries displayed as strikethrough text.

So for example:

- 11:00 -> 11:10
 >Sprint Planning

*!11:10 -> 11:10
 >Dev-Retro Sprint

- 11:00 -> 15:00
  GMX Ident

would look like this at 11:15 (~~ marks strikethrough)

~~- 11:00 -> 11:10~~
 ~~>Sprint Planning~~

*!11:10 -> 12:00
 >Dev-Retro Sprint

- 11:00 -> 15:00
  GMX Ident
lfos commented 2 years ago

Interesting request! I think we could make this configurable (e.g., some users might prefer gray over stikethrough). Currently active events (i.e., start time before current time and end time after current time) could have custom styling too.

mpldr commented 2 years ago

That's an even better idea! Especially since not all terminals support the strikethrough ANSI-code, but the faint-code is probably ubiquitous.

rsvdr commented 1 year ago

I would also like to see this feature implemented. It would be very helpful when you have the Appointments view open, and want to have a quick overview on what is completed and what is next.