Remove old ConPty stuff, fix Windows build, update submodule
This commit is contained in:
+16
-1
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user