summaryrefslogtreecommitdiffstats
path: root/Source/kwsys
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-11-18 14:13:40 (GMT)
committerBrad King <brad.king@kitware.com>2016-11-18 14:13:40 (GMT)
commit4775a99f61ff7982a37432625e37869e436cd1bd (patch)
tree466cc6201c267dd1a8d7cf0e6f8731f2d359efca /Source/kwsys
parentc9d142c4e96ad7fbbb7a98c0a9c22f088877519a (diff)
parent0a56e6fe35b89778a7e08a0341d3b08450aebd19 (diff)
downloadCMake-4775a99f61ff7982a37432625e37869e436cd1bd.zip
CMake-4775a99f61ff7982a37432625e37869e436cd1bd.tar.gz
CMake-4775a99f61ff7982a37432625e37869e436cd1bd.tar.bz2
Merge branch 'upstream-KWSys' into update-kwsys
* upstream-KWSys: KWSys 2016-11-18 (2a3f6f6b)
Diffstat (limited to 'Source/kwsys')
-rw-r--r--Source/kwsys/ConsoleBuf.hxx.in11
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) {