Skip to content
Snippets Groups Projects
Commit 0a56e6fe authored by Kitware Robot's avatar Kitware Robot Committed by Brad King
Browse files

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
parent 572ac897
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment