cast2gif icon indicating copy to clipboard operation
cast2gif copied to clipboard

ASNI cursor movement control is not supported

Open JakeWharton opened this issue 4 years ago • 2 comments

Listed at https://en.wikipedia.org/wiki/ANSI_escape_code#Terminal_output_sequences

I have a CLI which moves the cursor to repaint existing content, but the GIF always appends content ignoring these control codes. Color codes do seem to be supported, however.

JakeWharton avatar Dec 31 '20 02:12 JakeWharton

cast2gif doesn't handle the terminal emulation itself, so it might be a problem with the upstream terminal emulator vt100. I'd have to test it to be sure. Could you upload a zip of the cast file ( or put it in a GitHub Gist ) so I can test it out?

zicklag avatar Dec 31 '20 16:12 zicklag

Yep! Here's the JSON, the SVG output (from svg-term), and the GIF output from cast2gif: https://gist.github.com/JakeWharton/0b2a7233ea513250b7a21a3070d350ba.

JakeWharton avatar Jan 03 '21 04:01 JakeWharton