Skip to content

Commit

Permalink
fix: incomplete block should remain incomplete after backspacing
Browse files Browse the repository at this point in the history
  • Loading branch information
CNSeniorious000 committed Jun 28, 2024
1 parent 6fc1b69 commit 1fd34c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
}
else {
const lastLine = lines.pop()!;
log = [...log.slice(0, -1), { type: "in", text: lines.join("\n") }];
log = [...log.slice(0, -1), { type: "in", text: lines.join("\n"), incomplete: true }];
input = lastLine + input;
}
history.pop();
Expand Down

0 comments on commit 1fd34c9

Please sign in to comment.