SshShell: Resize now waits correctly.

git-svn-id: svn://ultimatepp.org/upp/trunk@12283 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
oblivion 2018-09-18 08:45:40 +00:00
parent f73fc0c731
commit eedc30e7b9

View file

@ -116,7 +116,8 @@ void SshShell::Resize()
int n = 0;
do {
n = SetPtySz(psize);
Wait();
if(n < 0)
Wait();
}
while(!IsTimeout() && !IsEof() && n < 0);
resized = false;