refactor: Simplify asciinema command in tmux_record.sh

This commit is contained in:
Paul Gauthier 2025-03-21 20:19:08 -07:00 committed by Paul Gauthier (aider)
parent 4b6424f631
commit 94016c87fd

View file

@ -14,5 +14,5 @@ TMUX_SIZE=$(tmux display -p '#{window_width}x#{window_height}')
echo "Using terminal size: $TMUX_SIZE" echo "Using terminal size: $TMUX_SIZE"
# Start asciinema recording with the tmux window size # 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 $*