diff options
author | Brad King <brad.king@kitware.com> | 2016-11-21 15:01:58 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2016-11-21 15:01:58 (GMT) |
commit | 45d74e9ad32592856852f92471c658256b619e6a (patch) | |
tree | a0b3e3855d9848cbe3bb18d6c5dfa1cfff69b31d | |
parent | 1528831bb1330cc539004f9fb3068e871f109d34 (diff) | |
parent | 4775a99f61ff7982a37432625e37869e436cd1bd (diff) | |
download | CMake-45d74e9ad32592856852f92471c658256b619e6a.zip CMake-45d74e9ad32592856852f92471c658256b619e6a.tar.gz CMake-45d74e9ad32592856852f92471c658256b619e6a.tar.bz2 |
Merge topic 'update-kwsys'
4775a99f Merge branch 'upstream-KWSys' into update-kwsys
0a56e6fe KWSys 2016-11-18 (2a3f6f6b)
-rw-r--r-- | Source/kwsys/ConsoleBuf.hxx.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/kwsys/ConsoleBuf.hxx.in b/Source/kwsys/ConsoleBuf.hxx.in index 34c69a0..717462e 100644 --- a/Source/kwsys/ConsoleBuf.hxx.in +++ b/Source/kwsys/ConsoleBuf.hxx.in @@ -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) { |