jcubic / jquery.terminal

jQuery Terminal Emulator - JavaScript library for creating web-based terminals with custom commands
https://terminal.jcubic.pl
MIT License
3.11k stars 569 forks source link

Exception when run animation on empty terminal #950

Closed jcubic closed 2 months ago

jcubic commented 4 months ago

Issue summary

When you have an empty terminal and you echo with animation it throws an error (visible in Console)

Expected behavior

Animation should work

Actual behavior

There is an exception

Steps to reproduce

See CodePen Repro

Browser and OS

N/A

Additional notes

Found in Gaiman Playground