Deleting completed tasks

It would be very helpful to have a button that would delete all completed tasks.

I know you can hide them but I’m looking for a button to delete all completed rather than one at a time.