Currently you have to select a message in the trash, Ctrl+A to select all messages and then click delete.
A much easier way would be to right click on the trash icon and select "delete all messages" or "empty trash".
Many programs have been able to do this for many years. Why not Thunderbird?
Thanks for submitting an idea to the Mozilla Connect community! Your idea is now open to votes (aka kudos) and comments.
My version (115.2.0) has "Empty Trash" and "Empty Junk"