| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -81,8 +81,11 @@ function setupTermynal() { | |||
| 81 | 81 | } | |
| 82 | 82 | } | |
| 83 | 83 | saveBuffer(); | |
| 84 | + const inputCommands = useLines.filter(line => line.type === "input").map(line => line.value).join("\n"); | ||
| 85 | + node.textContent = inputCommands; | ||
| 84 | 86 | const div = document.createElement("div"); | |
| 85 | - node.replaceWith(div); | ||
| 87 | + node.style.display = "none"; | ||
| 88 | + node.after(div); | ||
| 86 | 89 | const termynal = new Termynal(div, { | |
| 87 | 90 | lineData: useLines, | |
| 88 | 91 | noInit: true, | |
| Back | FazBrowse Home | New Git URL |
0 commit comments