Returns the string of the name of the current platform, adjusted to include
cygwin as an alternative next to win32 and win64, as well as embedded
terminal consoles like in Visual Studio Code.
switch (currentPlatform)
{
case"Cygwin":
case"vscode":
// Special code for the terminal not being a conventional terminal// (instead acting like a pager)break;
default:
// Code for normal terminalbreak;
}
Returns the string of the name of the current platform, adjusted to include cygwin as an alternative next to win32 and win64, as well as embedded terminal consoles like in Visual Studio Code.