d4d59fa339
This commit introduces all of the Windows Terminal and Console Host source, under the MIT license.
17 lines
427 B
C++
17 lines
427 B
C++
// Copyright (c) Microsoft Corporation.
|
|
// Licensed under the MIT license.
|
|
|
|
#include <windows.h>
|
|
|
|
// This application exists to be connected to a console session while doing exactly nothing.
|
|
// This keeps a console session alive and doesn't interfere with tests or other hooks.
|
|
int __cdecl wmain(int /*argc*/, WCHAR* /*argv[]*/)
|
|
{
|
|
while (true)
|
|
{
|
|
SleepEx(INFINITE, FALSE);
|
|
}
|
|
|
|
return 0;
|
|
}
|