aboutsummaryrefslogtreecommitdiff
path: root/RadTerminal.cpp
diff options
context:
space:
mode:
authorRadAd <adamgates84+github@gmail.com>2021-07-06 16:37:01 +1000
committerRadAd <adamgates84+github@gmail.com>2021-07-06 16:37:01 +1000
commitfa32e0c6d33792861fa4a7fac83f5bf987d1ac3d (patch)
treeaed89b9e4696bc43ee739b0468b16e197d7c2ce0 /RadTerminal.cpp
parentd66f640c8122d841ef80bf24b2567392787d18aa (diff)
downloadRadTerminal-fa32e0c6d33792861fa4a7fac83f5bf987d1ac3d.tar.gz
RadTerminal-fa32e0c6d33792861fa4a7fac83f5bf987d1ac3d.zip
Update to latest VS2019
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;