cucumber-rs / cucumber

Cucumber testing framework for Rust. Fully native, no external test runners or dependencies.
https://cucumber-rs.github.io/cucumber/main
Apache License 2.0
563 stars 69 forks source link

fix: use correct tuple key for width #298

Closed Daanoz closed 1 year ago

Daanoz commented 1 year ago

Recently we have been experiencing some strange output for our cucumber tests, basically most output was removed during a run. I finally managed to find this only happens when the console height is low. I think this is because the tuple keys are flipped in the changed bit. According to the docs the size_checked returns rows (height) and columns (width)...