Been looking for a way to add break
to break out of forloops without letting a ranged loop run until it finishes.
Turns out there is now a loopcontrol module in jinja so we could break out of loops.
https://jinja.palletsprojects.com/en/3.0.x/extensions/#loop-controls
would be nice to see this added to klipper.