mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-22 15:56:16 -04:00
Fix stepping again.
Add new getInput function to inputWorker
This commit is contained in:
parent
0bced35931
commit
7528065d4d
6 changed files with 111 additions and 24 deletions
|
@ -67,8 +67,10 @@ class Chef {
|
|||
}
|
||||
|
||||
// If stepping with flow control, we have to start from the beginning
|
||||
// but still want to skip all previous breakpoints
|
||||
if (progress > 0 && containsFc) {
|
||||
// but still want to skip all previous breakpoints.
|
||||
// If stepping, we need to start from the beginning as the current dish
|
||||
// value may not be for the correct input, so should be recalculated.
|
||||
if (progress > 0 && containsFc || step) {
|
||||
recipe.removeBreaksUpTo(progress);
|
||||
progress = 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue