pushed
zhengqunkoo/ttyd • 2:59 PM - Nov 26, 2024
This change integrates @xterm/addon-clipboard into the frontend terminal initialization and keeps the addon loaded alongside fit, overlay, and web links support. Previously, clipboard behavior relied on manual selection handling and document.execCommand('copy'); with the addon available, terminal copy/paste support is more aligned with xterm's built-in capabilities and easier to maintain. The practical effect is a more reliable clipboard experience in the browser terminal.
