Closed topheman closed 8 months ago
When I run ./target/debug/snake gamestate|./target/debug/snake render and I stop the party with Ctrl+C, the cursor comes back to shown thanks to https://github.com/topheman/snake-pipe-rust/blob/master/crates/common/src/render.rs#L77
./target/debug/snake gamestate|./target/debug/snake render
However, when I replay a party:
./target/debug/snake gamestate|tee /tmp/snake-output|./target/debug/snake render
cat /tmp/snake-output|./target/debug/snake throttle|./target/debug/snake render
When I hit Ctrl+C to stop, the cursor is still hidden, it should be show.
When I run
./target/debug/snake gamestate|./target/debug/snake render
and I stop the party with Ctrl+C, the cursor comes back to shown thanks to https://github.com/topheman/snake-pipe-rust/blob/master/crates/common/src/render.rs#L77However, when I replay a party:
./target/debug/snake gamestate|tee /tmp/snake-output|./target/debug/snake render
cat /tmp/snake-output|./target/debug/snake throttle|./target/debug/snake render
When I hit Ctrl+C to stop, the cursor is still hidden, it should be show.