mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-06-09 22:04:22 -06:00
SshShell: Resize now waits correctly.
git-svn-id: svn://ultimatepp.org/upp/trunk@12283 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
f73fc0c731
commit
eedc30e7b9
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue