mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-29 08:44:52 +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. */
|
||||
if (memcmp(&term, &oterm, sizeof(term)) != 0) {
|
||||
while (tcsetattr(input, TCSANOW|TCSASOFT, &oterm) == -1 &&
|
||||
while (tcsetattr(input, _T_FLUSH, &oterm) == -1 &&
|
||||
errno == EINTR)
|
||||
continue;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user