[GH-ISSUE #129] [Feature Request] Pausing and resuming #713

Closed
opened 2026-03-15 09:58:46 +03:00 by kerem · 1 comment
Owner

Originally created by @acostarelli on GitHub (Aug 31, 2015).
Original GitHub issue: https://github.com/asciinema/asciinema/issues/129

Occasionally, during a recording, I may want to take a break/look something up, which would create a long time of nothing happening in the recording. Or, I may have to enter sensitive information.

Either way, it would be nice to have the ability to pause or resume. For example, if I have to go look something up, I would type something like:

asciinema pause

Then, when I'm done looking up whatever I was looking up, I would type something like:

asciinema play
Originally created by @acostarelli on GitHub (Aug 31, 2015). Original GitHub issue: https://github.com/asciinema/asciinema/issues/129 Occasionally, during a recording, I may want to take a break/look something up, which would create a long time of nothing happening in the recording. Or, I may have to enter sensitive information. Either way, it would be nice to have the ability to pause or resume. For example, if I have to go look something up, I would type something like: ``` asciinema pause ``` Then, when I'm done looking up whatever I was looking up, I would type something like: ``` asciinema play ```
kerem closed this issue 2026-03-15 09:58:53 +03:00
Author
Owner

@ku1ik commented on GitHub (Sep 3, 2015):

It's not really possible to pause the recording session. asciinema records all terminal output, which is incremental by nature. What you see on your screen is an interpretation of a series of commands, each building on the previous one. By skipping some of them (by doing "pause") we're risking losing some important escape codes that contribute to the displayed content.

However, if you want to shrink "long time of nothing" then you can use the -w switch, i.e. asciinema rec -w 2.

<!-- gh-comment-id:137516840 --> @ku1ik commented on GitHub (Sep 3, 2015): It's not really possible to pause the recording session. asciinema records all terminal output, which is incremental by nature. What you see on your screen is an interpretation of a series of commands, each building on the previous one. By skipping some of them (by doing "pause") we're risking losing some important escape codes that contribute to the displayed content. However, if you want to shrink "long time of nothing" then you can use the `-w` switch, i.e. `asciinema rec -w 2`.
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#713
No description provided.