summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-11-21 15:01:58 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-11-21 15:01:58 (GMT)
commit45d74e9ad32592856852f92471c658256b619e6a (patch)
treea0b3e3855d9848cbe3bb18d6c5dfa1cfff69b31d
parent1528831bb1330cc539004f9fb3068e871f109d34 (diff)
parent4775a99f61ff7982a37432625e37869e436cd1bd (diff)
downloadCMake-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.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) {