Skip to content

Instantly share code, notes, and snippets.

@jkeuper
jkeuper / term2gif.sh
Last active March 3, 2024 02:39 — forked from tristanwietsma/term2gif.sh
Record terminal session to GIF
#!/bin/bash
MAX=200 # maximum wait between frames
DELAY=0.2 # speed things up a bit
TIMING=$1
SCRIPT=$2
W=$WINDOWID # Note: not alway present. Terminator not, xterm it is.