refactor: Simplify asciinema command in tmux_record.sh

This commit is contained in:
Paul Gauthier 2025-03-18 11:50:10 -07:00 committed by Paul Gauthier (aider)
parent 3ba75c5a62
commit 89c9290602

View file

@ -4,4 +4,5 @@
TMUX_SIZE=$(tmux display -p '#{window_width}x#{window_height}')
# Start asciinema recording with the tmux window size
asciinema rec -c "tmux attach -t 0 -r" tmp.cast --headless --append --tty-size $TMUX_SIZE
asciinema rec -c "tmux attach -t 0 -r" --headless --tty-size $TMUX_SIZE $*