One tool used to recorder the terminal and convert to svg.
pip3 install --user termtosvg
termtosvg exit