async type()

in iceberg-theme/static/js/termynal.js [107:117]


     async type(line) {
         const chars = [...line.textContent];
         const delay = line.getAttribute(`${this.pfx}-typeDelay`) || this.typeDelay;
         line.textContent = '';
         this.container.appendChild(line);
 
         for (let char of chars) {
             await this._wait(delay);
             line.textContent += char;
         }
     }