terminal/src/cascadia/WindowsTerminalUniversal/main.cpp
N d09fdd61cb
Change backslashes in include statements to forward slashes (#8205)
Many include statements use forward slashes, while others use backwards
slashes. This is inconsistent formatting. For this reason, I changed the
backward slashes to forward slashes since that is the standard.
2020-11-25 21:02:10 +00:00

19 lines
589 B
C++

#include "pch.h"
#include "winrt/TerminalApp.h"
int __stdcall wWinMain(HINSTANCE, HINSTANCE, PWSTR, int)
{
winrt::init_apartment();
::winrt::Windows::UI::Xaml::Application::Start(
[](auto&&) {
::winrt::TerminalApp::App a;
// We dump the pointer into nowhere here because it needs to not be deconstructed
// upon leaving the bottom of this lambda and the XAML Framework will catch the
// appropriate reference into App.Current for the remainder of execution.
::winrt::detach_abi(a);
});
return 0;
}