I thought there was a feature request for this already - if there is, I can’t find it.
This may be useful in the meantime.