I am asking this question because I have not found an answer before. I recently switched to Windows Terminal and some commands that the "Command Line" or "PowerShell" used to send me with syntax highlighting, are now sent to me without.
Example: on the left the Command Line and PowerShell opened via Windows Terminal, on the right without.
I don't think this is specifically due to the command I am running.
Is there a way to get back the same syntax highlighting as before? If not, I am interested to know what can explain this difference?
I already tried to reboot my computer after the installation.
`setx ANSICON 1`
Personnaly, your last solution did not work for me, but thanks you very mutch for your excellent answer :) – Alain Mar 13 '23 at 17:42