diff options
author | Brad King <brad.king@kitware.com> | 2016-11-18 14:13:40 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-11-18 14:13:40 (GMT) |
commit | 4775a99f61ff7982a37432625e37869e436cd1bd (patch) | |
tree | 466cc6201c267dd1a8d7cf0e6f8731f2d359efca | |
parent | c9d142c4e96ad7fbbb7a98c0a9c22f088877519a (diff) | |
parent | 0a56e6fe35b89778a7e08a0341d3b08450aebd19 (diff) | |
download | CMake-4775a99f61ff7982a37432625e37869e436cd1bd.zip CMake-4775a99f61ff7982a37432625e37869e436cd1bd.tar.gz CMake-4775a99f61ff7982a37432625e37869e436cd1bd.tar.bz2 |
Merge branch 'upstream-KWSys' into update-kwsys
* upstream-KWSys:
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) { |