Recording terminal animations with ASCIInema

In the previous article I was using terminal animations to illustrate examples of using the 'jj' command line tool. The need to figure out how to do that delayed the article. But now I know how to do it and I can share this knowledge. Preamble ASCIInema is not the only tool for recording terminal sessions, but it is the one which worked for me reliably. I use Fish shell on macOS, but my solution…