diff --git a/src/interactivity/win32/Clipboard.cpp b/src/interactivity/win32/Clipboard.cpp index 02db284c33..92470d88b9 100644 --- a/src/interactivity/win32/Clipboard.cpp +++ b/src/interactivity/win32/Clipboard.cpp @@ -310,7 +310,7 @@ InputEventQueue Clipboard::TextToKeyEvents(_In_reads_(cchData) const wchar_t* co currentChar = UNICODE_CARRIAGERETURN; } - const auto codepage = ServiceLocator::LocateGlobals().getConsoleInformation().OutputCP; + const auto codepage = ServiceLocator::LocateGlobals().getConsoleInformation().CP; CharToKeyEvents(currentChar, codepage, keyEvents); }