sudo bash
in the script is redundant. The script itself will need to be run with sudo
.
vtm.conf
file from the current directory is used. The name of the region is taken from it.
vtm
is typed
Is there anything new on VTM?
It is now possible to create a pseudo console (ConPTY) in Windows Server 2019.
It didn't work as Windows Server adds a null byte to the end of the cmd or powershell console window title (Windows 10 doesn't do that)
Win10 behavior (cmd.exe title):C:\\Windows\\SYSTEM32\\cmd.exe
WinSrv behavior (cmd.exe title + \0
):C:\Windows\SYSTEM32\\cmd.exe\0
Pseudo console was not created because of this zero byte at the end.
VTM works on Windows Terminal with powershell
Oh! I just figured out what that means. The fact is that I use a modified Windows Terminal in which the mouse works in all modes. And I didn't get that when you wrote about using PowerShell. Thanks for the tip.
It takes a few lines of source code changes to get Windows Terminal to start tracking the mouse for classic console applications
https://github.com/microsoft/terminal/issues/376#issuecomment-733198098
This is a temporary hack.