You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When moving beyond the screen space with the arrow keys in the debug build, it crashes due to an integer underflow. The release build behaves as expected (presumably because the check is not emitted).
To Reproduce
> base64 -w 0 /dev/zero | head -c 200 >test
> ./target/release/ad test
# Move to the end of the line, no problem
> env RUST_BACKTRACE=1 ./target/debug/ad testFatal error:panicked at src/ui/layout.rs:796:28:attempt to subtract with overflow
Describe the bug
When moving beyond the screen space with the arrow keys in the debug build, it crashes due to an integer underflow. The release build behaves as expected (presumably because the check is not emitted).
To Reproduce
Versions & OS Details
The text was updated successfully, but these errors were encountered: