mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-25 14:55:00 +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)
|
# Get tmux window size (width x height)
|
||||||
TMUX_SIZE=$(tmux display -p '#{window_width}x#{window_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
|
# Start asciinema recording with the tmux window size
|
||||||
asciinema rec -c "tmux attach -t 0 -r" --headless --tty-size $TMUX_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