ines / termynal

⬛️ Lightweight and modern terminal animations using async/await
MIT License
1.7k stars 110 forks source link

Progress bar doesn't seem to be rendering. #23

Closed justanotherbyte closed 2 years ago

justanotherbyte commented 2 years ago

Hey there, I have some html code within a markdown file that uses termynal. I've linked both the JS file and the css files at the top of the markdown file.

My HTML:

<div id="termynal" data-termynal data-ty-typeDelay="40" data-ty-lineDelay="700">
    <span data-ty="input">uvicorn main:py --reload</span>
    <span data-ty="progress"></span>
    <span data-ty><span style="color: green;">INFO:</span>     Started server process [21748]</span>
    <span><span style="color: green;">INFO:</span>     Waiting for application startup.</span>
    <span data-ty><span style="color: green;">INFO:</span>     Application startup complete.</span>
    <span><span style="color: green;">INFO:</span>     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)</span>
</div>

The progress bar doesn't seem to be actually animating at all. image