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:
KWSys Upstream 2016-11-18 08:56:10 -05:00 committed by Brad King
parent 572ac89773
commit 0a56e6fe35

View File

@ -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) {