Bug Description
Some of the scenarios set you up in a way that makes them unbeatable in "optimal movements".
The basic movement scenarios for j and k have the cursor not only vertically displaced but also one character horizontally. The optimal solution says 1, which would only work without the horizontal offset.
Steps to Reproduce
- Go to scenario "Move cursor up using 'k' " or "Move cursor down using 'j'"
- Try to solve with optimal movement (expected: 1)
Expected Behavior
Initial Scenario setup should make it possible to solve with suggested optimal movement
Actual Behavior
Initial Scenario setup prevents suggested optimal solution.
Screenshots
Notice the horizontal offset of current cursor and target cursor in each of these scenarios.
This is the initial setup. No keys have been pressed yet.
A solution with 1 key press is impossible to achieve with this setup.
Environment
- OS: [ Windows 11]
- Terminal: [Windows Terminal]
- Rust version: [output of
rustc --version]
- Helix Trainer version: helix-trainer-v0.5.9-x86_64-pc-windows-msvc from the Releases page
Additional Context
Logs
Bug Description
Some of the scenarios set you up in a way that makes them unbeatable in "optimal movements".
The basic movement scenarios for
jandkhave the cursor not only vertically displaced but also one character horizontally. The optimal solution says 1, which would only work without the horizontal offset.Steps to Reproduce
Expected Behavior
Initial Scenario setup should make it possible to solve with suggested optimal movement
Actual Behavior
Initial Scenario setup prevents suggested optimal solution.
Screenshots
Notice the horizontal offset of current cursor and target cursor in each of these scenarios.
This is the initial setup. No keys have been pressed yet.
A solution with 1 key press is impossible to achieve with this setup.
Environment
rustc --version]Additional Context
Logs