Funky output when using VS Code or Windows Terminal
I am using this for ad-hoc cs-script ... scripts in VS Code, and it works like a charm. However, the output itself is a bit funky:
Any ideas as to make it look like it should in VS Code?
Also, I tried calling the script directly in Windows Terminal, where the output is almost correct, except for the corners.
I get that it is probably something I just have to live with, but if there is an easy fix, I'd love to hear it :)
Thanks @Tdue21 for creating the issue. Could you please provide more information? In both VsCode's and Windows Terminal, which shell are you using? CMD/PowerShell Core/PowerShell Windows/etc... ?
PowerShell 7.4 or 7.5, I forget right now which. In Windows Terminal it is the same whether it is PowerShell or Cmd. I'll add more when I am at my PC.
Ok, funny thing. If I run my code in VS Code, with Ctrl+Alt+N I get this:
But, if I run it in the integrated terminal, I get this:
And now it also looks fine in Windows Terminal:
I did rename the script file from .cs to .csx, but I don't see how that can affect the output. Only thing it should affect is how VS Code attempts to execute it when using the Ctrl+Alt+N command, which it didn't by the way ;)
So, it would appear that I was just being unlucky when I tried the first time *shrug*
Only the Output window in VS Code seem to be affected, and that is most likely some kind of encoding thing.
I don't think it is something worth spending a lot of time on.