topheman / snake-pipe-rust

🦀 A snake game based on stdin/stdout (+tcp and unix sockets) in rust
MIT License
12 stars 1 forks source link

[snakepipe throttle] should `frame_duration` be the one from the stream #24

Open topheman opened 7 months ago

topheman commented 7 months ago

Currently, --frame-duration can be passed to the throttle command, if not, it defaults to 120 which is the default.

Shouldn't the default be the one from the header of the stream ? input.options.frame_duration ?