nbedos / termtosvg

Record terminal sessions as SVG animations
https://nbedos.github.io/termtosvg/
BSD 3-Clause "New" or "Revised" License
9.71k stars 436 forks source link

Added still frame functionality for rendering as requested by issue #50 #74

Closed AlfredoSequeida closed 5 years ago

AlfredoSequeida commented 5 years ago

As requested in #50 I decided to take a stab at adding a still frame functionality to the rendering feature. The change uses the -s option and renders the LAST frame of the animation in svg format.

termtosvg render -s file.cast

nbedos commented 5 years ago

Thanks. I've taken a more generic approach and implemented rendering of every frame of the animation.

https://github.com/nbedos/termtosvg/commit/6ea3f6790d07ecb0090e5daa38abfc207f279659