diff --git a/pykd/pydbgio.h b/pykd/pydbgio.h index ea8d987..75f73ce 100644 --- a/pykd/pydbgio.h +++ b/pykd/pydbgio.h @@ -75,6 +75,10 @@ public: bool closed() { return false; } + + bool isatty() { + return false; + } }; /////////////////////////////////////////////////////////////////////////////// diff --git a/pykd/pymod.cpp b/pykd/pymod.cpp index 804b5e0..599c886 100644 --- a/pykd/pymod.cpp +++ b/pykd/pymod.cpp @@ -204,8 +204,9 @@ BOOST_PYTHON_MODULE( pykd ) // Python debug output console helper classes python::class_( "dout", "dout", python::no_init ) .def( "write", &DbgOut::write ) - .def( "writedml", &DbgOut::writedml) + .def( "writedml", &DbgOut::writedml ) .def( "flush", &DbgOut::flush ) + .def( "isatty", &DbgOut::isatty ) .add_property( "encoding", &DbgOut::encoding ) .add_property( "closed", &DbgOut::closed ); diff --git a/pykd_bootstrapper/version.h b/pykd_bootstrapper/version.h index b70f446..74182ca 100644 --- a/pykd_bootstrapper/version.h +++ b/pykd_bootstrapper/version.h @@ -3,7 +3,7 @@ #define PYKDEXT_VERSION_MAJOR 1 #define PYKDEXT_VERSION_MINOR 0 #define PYKDEXT_VERSION_SUBVERSION 1 -#define PYKDEXT_VERSION_BUILDNO 13 +#define PYKDEXT_VERSION_BUILDNO 14 #define __VER_STR2__(x) #x #define __VER_STR1__(x) __VER_STR2__(x) diff --git a/pykd_bootstrapper/windbgext.cpp b/pykd_bootstrapper/windbgext.cpp index 7327304..a5fb03e 100644 --- a/pykd_bootstrapper/windbgext.cpp +++ b/pykd_bootstrapper/windbgext.cpp @@ -78,6 +78,10 @@ public: return false; } + bool isatty() { + return false; + } + private: CComQIPtr m_control; @@ -261,6 +265,7 @@ private: .def("write", &DbgOut::write) .def("writedml", &DbgOut::writedml) .def("flush", &DbgOut::flush) + .def("isatty", &DbgOut::isatty) .add_property("encoding", &DbgOut::encoding) .add_property("closed", &DbgOut::closed);