Remove old ConPty stuff, fix Windows build, update submodule

This commit is contained in:
Vitaly Petrov
2019-03-20 22:35:16 +03:00
parent 2c919cf6c5
commit eea2684433
13 changed files with 130 additions and 461 deletions
+16 -1
View File
@@ -16,7 +16,7 @@ QString castErrorToString(winpty_error_ptr_t error_ptr)
}
WinPtyProcess::WinPtyProcess()
: IWindowsPtyProcess()
: IPtyProcess()
, m_ptyHandler(nullptr)
, m_innerHandle(nullptr)
{
@@ -189,6 +189,21 @@ QString WinPtyProcess::dumpDebugInfo()
.arg(m_size.first).arg(m_size.second).arg(m_ptyHandler != nullptr)
.arg(m_shellPath);
}
QIODevice *WinPtyProcess::notifier()
{
return &m_outSocket;
}
QByteArray WinPtyProcess::readAll()
{
return m_outSocket.readAll();
}
qint64 WinPtyProcess::write(const QByteArray &byteArray)
{
return m_inSocket.write(byteArray);
}
#endif
bool WinPtyProcess::isAvailable()