feat: Add terminal size output to tmux_record.sh

This commit is contained in:
Paul Gauthier (aider) 2025-03-18 11:53:28 -07:00
parent 736c1f7e1e
commit 46863b470c

View file

@ -10,6 +10,9 @@ fi
# Get tmux window size (width x height)
TMUX_SIZE=$(tmux display -p '#{window_width}x#{window_height}')
# Print the terminal size
echo "Using terminal size: $TMUX_SIZE"
# Start asciinema recording with the tmux window size
asciinema rec -c "tmux attach -t 0 -r" --headless --tty-size $TMUX_SIZE $*