Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tmux spilt windows? #151

Closed
lukehinds opened this issue Mar 6, 2016 · 5 comments
Closed

Tmux spilt windows? #151

lukehinds opened this issue Mar 6, 2016 · 5 comments

Comments

@lukehinds
Copy link

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?

@ku1ik
Copy link
Contributor

ku1ik commented 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"

@ku1ik
Copy link
Contributor

ku1ik commented Mar 6, 2016

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

@lukehinds
Copy link
Author

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

@ku1ik
Copy link
Contributor

ku1ik commented Mar 26, 2016

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

@ku1ik ku1ik closed this as completed Mar 26, 2016
@normen
Copy link

normen commented 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 up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants