mirror of
https://github.com/db9979/sshtermy.git
synced 2026-12-06 12:44:08 +01:00
- release.yml baut .deb (amd64, arm64) und schreibt Formula/sshtermy.rb - pages.yml: Webseite (site/, en + de, GIFs) und apt-Quelle unter /apt - winget.yml: Einreichung bei winget-pkgs von Hand (Secret WINGET_TOKEN) - Bei Homebrew/apt-Installation kein Selbst-Update, stattdessen Befehl - tools/dev/gifs: Aufnahme der GIFs aus der echten App Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018i4GUfgD3KuJTKRbUm5tK6
12 lines
511 B
JavaScript
12 lines
511 B
JavaScript
// Kopier-Knöpfe an den Befehlen.
|
|
document.querySelectorAll('.cmd').forEach(function (box) {
|
|
var b = document.createElement('button');
|
|
b.className = 'copy'; b.type = 'button'; b.textContent = box.dataset.copy || 'Copy';
|
|
b.addEventListener('click', function () {
|
|
navigator.clipboard.writeText(box.querySelector('pre').innerText.trim()).then(function () {
|
|
var t = b.textContent; b.textContent = '✓'; setTimeout(function () { b.textContent = t; }, 1200);
|
|
});
|
|
});
|
|
box.appendChild(b);
|
|
});
|