I am seeing rustbox::init die without returning Err. I'm not sure how this happens or why, but it happens when I run in a terminal over ssh. The difference may, however, be in the different computers rather than the ssh connection, since I can't test in person on the computer that has the trouble, since it's on the wrong side of the country.
You can (maybe) reproduce this problem by running:
git clone git://github.com/droundy/pmail
cd pmail
cargo build
target/debug/textmode-pmail
If it works properly ctrl-q enables you to exit. When it fails, it exits without blanking the screen, and leaves something like the following:
The last line indicates that a local variable has been dropped, meaning that there seems to have been a relatively clean exit. But a println! inserted in the error path failed to be shown.
I am seeing
rustbox::init
die without returning Err. I'm not sure how this happens or why, but it happens when I run in a terminal over ssh. The difference may, however, be in the different computers rather than the ssh connection, since I can't test in person on the computer that has the trouble, since it's on the wrong side of the country.You can (maybe) reproduce this problem by running:
If it works properly ctrl-q enables you to exit. When it fails, it exits without blanking the screen, and leaves something like the following:
The last line indicates that a local variable has been dropped, meaning that there seems to have been a relatively clean exit. But a
println!
inserted in the error path failed to be shown.