mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-30 01:05:14 +02:00
restore portable-specific tweak
This commit is contained in:
parent
308c8b147b
commit
101afbbb17
@ -138,7 +138,7 @@ restart:
|
|||||||
|
|
||||||
/* Restore old terminal settings and signals. */
|
/* Restore old terminal settings and signals. */
|
||||||
if (memcmp(&term, &oterm, sizeof(term)) != 0) {
|
if (memcmp(&term, &oterm, sizeof(term)) != 0) {
|
||||||
while (tcsetattr(input, TCSANOW|TCSASOFT, &oterm) == -1 &&
|
while (tcsetattr(input, _T_FLUSH, &oterm) == -1 &&
|
||||||
errno == EINTR)
|
errno == EINTR)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user