diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-10-16 11:47:12 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-10-24 14:21:57 -0700 |
| commit | 35756fbcf6572d588929fde64fb4027f47e9d0af (patch) | |
| tree | 8a2f0ec01c2eb26f5db34887b8b2335a844d5b9d /src/libstd/task | |
| parent | 32b07c6a40bd7e1874244096f413096a6e059a29 (diff) | |
| download | rust-35756fbcf6572d588929fde64fb4027f47e9d0af.tar.gz rust-35756fbcf6572d588929fde64fb4027f47e9d0af.zip | |
Move rt::io::stdio from FileStream to a TTY
We get a little more functionality from libuv for these kinds of streams (things like terminal dimentions), and it also appears to more gracefully handle the stream being a window. Beforehand, if you used stdio and hit CTRL+d on a process, libuv would continually return 0-length successful reads instead of interpreting that the stream was closed. I was hoping to be able to write tests for this, but currently the testing infrastructure doesn't allow tests with a stdin and a stdout, but this has been manually tested! (not that it means much)
Diffstat (limited to 'src/libstd/task')
0 files changed, 0 insertions, 0 deletions
