diff options
author | Björn-Egil Dahlberg <[email protected]> | 2013-07-22 11:35:09 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2013-07-22 11:35:09 +0200 |
commit | da126f703a10f91e2417aa9f6f201117f1c87f59 (patch) | |
tree | f6ced44c3aa2d490724eb9bc76cc2e52c609e75d /erts | |
parent | b7fbc28217c7e324f33c4b63d858560eba2ba07a (diff) | |
parent | aee76ad7e0efe5f97992350264029e198a7257a4 (diff) | |
download | otp-da126f703a10f91e2417aa9f6f201117f1c87f59.tar.gz otp-da126f703a10f91e2417aa9f6f201117f1c87f59.tar.bz2 otp-da126f703a10f91e2417aa9f6f201117f1c87f59.zip |
Merge branch 'maint'
Diffstat (limited to 'erts')
-rw-r--r-- | erts/etc/unix/to_erl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/etc/unix/to_erl.c b/erts/etc/unix/to_erl.c index 0f27b64811..b9e397cbf2 100644 --- a/erts/etc/unix/to_erl.c +++ b/erts/etc/unix/to_erl.c @@ -339,7 +339,7 @@ int main(int argc, char **argv) tty_smode.c_cc[VTIME] =0;/* Note that VTIME is the same as VEOL! */ tty_smode.c_cc[VINTR] =3; - tcsetattr(0, TCSANOW, &tty_smode); + tcsetattr(0, TCSADRAIN, &tty_smode); #ifdef DEBUG show_terminal_settings(&tty_smode); @@ -484,7 +484,7 @@ int main(int argc, char **argv) * Reset terminal characterstics * XXX */ - tcsetattr(0, TCSANOW, &tty_rmode); + tcsetattr(0, TCSADRAIN, &tty_rmode); return 0; } |