I upgraded to powershell to 7.5.1 and here is a demo of it working correctly with a one letter change, the "T" in "Termcolor" changed to "t".
Is there any possibility that you upgraded powershell using the incorrect install file?