cli: add step back feature (redux) #76
hydrargyrum
started this conversation in
Ideas
Replies: 1 comment
-
I just realized that feature is in the web player, but not in the CLI player. Why not implementing it the same way? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am conscious this feature has been requested multiple times but everytime it was closed without being addressed properly (for example asciinema/asciinema#278, asciinema/asciinema#133).
I understand stepping back is not as efficient as stepping forward, but couldn't it simply be implemented by replaying the beginning of the file until the desired frame, without timings (like
asciinema cat
)?For example,
head -50 /path/to/asciinema.recording | asciinema cat -
, plays the first 49 frames of the recording. Seeking to previous frame would be as simple as running (the equivalent of)head -49 /path/to/asciinema.recording | asciinema cat -
. Seeking to a specific time can be done the same way because we have timing info for each frame.Beta Was this translation helpful? Give feedback.
All reactions