mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 04:14:59 +00:00
feat: Add terminal size output to tmux_record.sh
This commit is contained in:
parent
736c1f7e1e
commit
46863b470c
1 changed files with 3 additions and 0 deletions
|
@ -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 $*
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue