mirror of
https://github.com/reactos/CMake.git
synced 2024-12-13 22:58:41 +00:00
KWSys 2016-11-18 (2a3f6f6b)
Code extracted from: http://public.kitware.com/KWSys.git at commit 2a3f6f6b9098d10afb05e894faf262efa22f38b8 (master). Upstream Shortlog ----------------- Dāvis Mosāns (2): a7e82be0 ConsoleBuf: Expose Manager ConsoleBuf to be accessible 2a3f6f6b ConsoleBuf: Add Manager convenience method for UTF-8 pipes
This commit is contained in:
parent
572ac89773
commit
0a56e6fe35
@ -48,6 +48,17 @@ public:
|
||||
};
|
||||
}
|
||||
|
||||
BasicConsoleBuf<CharT, Traits>* GetConsoleBuf() { return m_consolebuf; }
|
||||
|
||||
void SetUTF8Pipes()
|
||||
{
|
||||
if (m_consolebuf) {
|
||||
m_consolebuf->input_pipe_codepage = CP_UTF8;
|
||||
m_consolebuf->output_pipe_codepage = CP_UTF8;
|
||||
m_consolebuf->activateCodepageChange();
|
||||
}
|
||||
}
|
||||
|
||||
~Manager()
|
||||
{
|
||||
if (m_consolebuf) {
|
||||
|
Loading…
Reference in New Issue
Block a user