<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Tomas Hajny via fpc-devel <<a href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a>> schrieb am Mi., 25. Nov. 2020, 13:31:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 2020-11-25 10:31, Nikolai Zhubr via fpc-devel wrote:<br>
> 25.11.2020 1:52, Tomas Hajny via fpc-devel:<br>
<br>
<br>
<br>
<br>
Hi Nikolai,<br>
<br>
>> No problem, thanks for testing. Unfortunately, it doesn't work for me<br>
>> under Windows (Win 10 Pro 64-bit) either with the original version or<br>
> <br>
> Have you also checked with this registry trick for win10:<br>
> <br>
> [HKEY_CURRENT_USER\Console]<br>
> "VirtualTerminalLevel"=dword:00000001<br>
> <br>
> (As per <a href="https://superuser.com/a/1300251/109090" rel="noreferrer noreferrer" target="_blank">https://superuser.com/a/1300251/109090</a>)<br>
.<br>
.<br>
<br>
If I read the article correctly, it says that an application may enable <br>
this processing explicitly using SetConsoleMode, or that it may be <br>
enabled for all applications / consoles using the mentioned registry <br>
key. The code added to the compiler contains the mentioned <br>
SetConsoleMode setting, thus it should be sufficient according to the <br>
article. However, the call fails (here) with error 87 (invalid <br>
parameter). And btw, changing the registry key doesn't help (i.e. I <br>
still get the same error). The same call (SetConsoleMode) performed <br>
without setting the respective flag (ENABLE_VIRTUAL_TERMINAL_PROCESSING) <br>
succeeds. I'm willing to have a look at additional hints, but I won't <br>
perform additional research myself for this.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">How current is your Windows 10? VT100 support was added only two years ago or so. </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div></div>