I am trying to write a console app in VB.NET (VS Studio Community 2019 & .Net framework 4.8)
I cannot get it to display ANSI Escape sequences correctly.
I am aware of [this suggestion](https://stackoverflow.com/questions/16755142/how-to-make-win32-cons ole-recognize-ansi-vt100-escape-sequences "Especially the Registry Hack") and have applied it. (Makes no difference)
I am able to set colour using
Console.ForegroundColor = ConsoleColor.Red
and cursor positioning, using
Console.SetCursorPosition(origCol + x, origRow + y)
When I try to do this
It just prints it out raw without interpreting the ANSI Sequences.
`Console.OutputEncoding = Text.Encoding.XXX` only gives me limited options for XXX, including Ascii, UTF8, 16, 32 and Unicode.
dwMode |= ENABLE_VIRTUAL_TERMINAL_PROCESSING;
if (!SetConsoleMode(hOut, dwMode))
I'm guessing that one of these two might be the answer to my problem, but I have no idea how to do anything with this info in VB.net.
... Documentation - The worst part of programming.
þ Synchronet þ Sent from El Gato de Fuego * The Fire Cat * elgato.synchronetbbs.org