Skip to content

Commit

Permalink
fix: reset incomplete field
Browse files Browse the repository at this point in the history
  • Loading branch information
CNSeniorious000 committed Jun 28, 2024
1 parent 2c827d6 commit 3d83caf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/components/console/HeadlessConsole.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
if (last.type === item.type && (item.type === "out" || (item.type === "in" && last.incomplete) || (item.type === "err" && !last.isTraceback && !item.isTraceback))) {
last.text += item.type === "in" ? `\n${item.text}` : item.text;
last.incomplete = item.incomplete;
log = [...log];
return last;
}
Expand Down

0 comments on commit 3d83caf

Please sign in to comment.