Browse Source

🐛 Fix input command display in setupTermynal function

pull/14722/head
Alejandra 6 months ago
parent
commit
84ae330c24
  1. 2
      docs/en/docs/js/custom.js

2
docs/en/docs/js/custom.js

@ -81,6 +81,8 @@ function setupTermynal() {
}
}
saveBuffer();
const inputCommands = useLines.filter(line => line.type === "input").map(line => line.value).join("\n");
node.textContent = inputCommands;
const div = document.createElement("div");
node.style.display = "none";
node.after(div);

Loading…
Cancel
Save