3 ms·
Asciinema is great and a joy to use, but one of the coolest things about how Asciinema is made is that the web player implements a virtual terminal emulator in
by lvh 7y ago
Asciinema is great and a joy to use, but one of the coolest things about how Asciinema is made is that the web player implements a virtual terminal emulator in Clojure:
https://github.com/asciinema/vt/blob/master/src/asciinema/vt.cljc https://github.com/asciinema/vt/blob/master/src/asciinema/vt...
It's cljc, which means it runs on both JVM and in JS. I have no idea if they actually use the JVM bit.
- deleted 7y ago[deleted]
- sickill 7y agoThe JVM part is not in practical use, but it was just to easy to use cljc to not do it this way