()
| 904 | } |
| 905 | |
| 906 | function handleCopyOutput() { |
| 907 | navigator.clipboard.writeText(terminalOutput.textContent).then(() => { |
| 908 | copyOutputBtn.innerHTML = '<i class="fas fa-check"></i> Copied!'; |
| 909 | setTimeout(() => { |
| 910 | copyOutputBtn.innerHTML = '<i class="fas fa-copy"></i> Copy'; |
| 911 | }, 2000); |
| 912 | }).catch(err => { |
| 913 | console.error('Failed to copy text:', err); |
| 914 | }); |
| 915 | } |
| 916 | |
| 917 | function handleSaveOutput() { |
| 918 | const blob = new Blob([terminalOutput.textContent], { type: 'text/plain' }); |
nothing calls this directly
no outgoing calls
no test coverage detected