From 46863b470cb893d548aafafb74c611c781801d0d Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Tue, 18 Mar 2025 11:53:28 -0700 Subject: [PATCH] feat: Add terminal size output to tmux_record.sh --- scripts/tmux_record.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/tmux_record.sh b/scripts/tmux_record.sh index d0ecf64f4..de40cca35 100755 --- a/scripts/tmux_record.sh +++ b/scripts/tmux_record.sh @@ -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 $*