aboutsummaryrefslogtreecommitdiff
path: root/RadTerminal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'RadTerminal.cpp')
-rw-r--r--RadTerminal.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/RadTerminal.cpp b/RadTerminal.cpp
index 591e87f..f0b4cc5 100644
--- a/RadTerminal.cpp
+++ b/RadTerminal.cpp
@@ -163,11 +163,12 @@ RadTerminalCreate GetTerminalCreate(bool bParseCmdLine, std::tstring profile)
RadTerminalCreate rtc = {};
rtc.iFontHeight = 16;
rtc.strFontFace = _T("Consolas");
+ //rtc.strFontFace = _T("Cascadia Code");
//rtc.strScheme = _T("solarized");
rtc.szCon = { 80, 25 };
rtc.sb = 1000;
- //rtc.strCmd = _T("%COMSPEC%");
- //rtc.strCmd = _T("cmd");
+ //rtc.strCommand = _T("%COMSPEC%");
+ rtc.strCommand = _T("cmd");
LoadRegistry(rtc, _T("Default"));
LoadRegistry(rtc, profile.c_str());
@@ -180,6 +181,8 @@ RadTerminalCreate GetTerminalCreate(bool bParseCmdLine, std::tstring profile)
int WINAPI _tWinMain(HINSTANCE hInstance, HINSTANCE, PTSTR pCmdLine, int nCmdShow)
{
InitDarkMode();
+ //SetThreadDpiAwarenessContext(DPI_AWARENESS_CONTEXT_SYSTEM_AWARE);
+ //SetThreadDpiAwarenessContext(DPI_AWARENESS_CONTEXT_UNAWARE_GDISCALED);
HWND hWnd = NULL;
HWND hWndMDIClient = NULL;