[GH-ISSUE #151] Tmux spilt windows? #117

Closed
opened 2026-02-25 20:32:41 +03:00 by kerem · 5 comments
Owner

Originally created by @lukehinds on GitHub (Mar 6, 2016).
Original GitHub issue: https://github.com/asciinema/asciinema/issues/151

I have seen a few people recording tmux spilt windows, but google is not pulling up results on how they are doing this. I have had a brief look at the code and args available, but can't see how its done.

All my attempts result in just a single window being recorded.

Anyone have any ideas on how to go about this?

Originally created by @lukehinds on GitHub (Mar 6, 2016). Original GitHub issue: https://github.com/asciinema/asciinema/issues/151 I have seen a few people recording tmux spilt windows, but google is not pulling up results on how they are doing this. I have had a brief look at the code and args available, but can't see how its done. All my attempts result in just a single window being recorded. Anyone have any ideas on how to go about this?
kerem closed this issue 2026-02-25 20:32:41 +03:00
Author
Owner

@ku1ik commented on GitHub (Mar 6, 2016):

You can do it the following way:

  • setup your tmux session (tmux new, create splits etc)
  • detach
  • run asciinema rec -c "tmux attach -t session-name"
<!-- gh-comment-id:193011488 --> @ku1ik commented on GitHub (Mar 6, 2016): You can do it the following way: - setup your tmux session (tmux new, create splits etc) - detach - run `asciinema rec -c "tmux attach -t session-name"`
Author
Owner

@ku1ik commented on GitHub (Mar 6, 2016):

I guess it would be worth posting this as a short blog post or a wiki page.

<!-- gh-comment-id:193011700 --> @ku1ik commented on GitHub (Mar 6, 2016): I guess it would be worth posting this as a short blog post or a wiki page.
Author
Owner

@lukehinds commented on GitHub (Mar 7, 2016):

Super thanks, this is very useful. I think a quick blog entry would be useful as google will pick it up!

<!-- gh-comment-id:193172570 --> @lukehinds commented on GitHub (Mar 7, 2016): Super thanks, this is very useful. I think a quick blog entry would be useful as google will pick it up!
Author
Owner

@ku1ik commented on GitHub (Mar 26, 2016):

Added wiki page about it here: https://github.com/asciinema/asciinema/wiki/Recording-tmux-session

<!-- gh-comment-id:201810684 --> @ku1ik commented on GitHub (Mar 26, 2016): Added wiki page about it here: https://github.com/asciinema/asciinema/wiki/Recording-tmux-session
Author
Owner

@normen commented on GitHub (Dec 6, 2020):

This doesn't seem to work anymore for me on MacOS 10.15.7 / Tmux 3.1c - I just get a black screen when I play the recorded file?

<!-- gh-comment-id:739490485 --> @normen commented on GitHub (Dec 6, 2020): This doesn't seem to work anymore for me on MacOS 10.15.7 / Tmux 3.1c - I just get a black screen when I play the recorded file?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asciinema#117
No description provided.