Emit an event or marker when recording is paused and resumed #254
Replies: 2 comments
-
|
Moving to a discussion since it's not really a bug/issue. |
Beta Was this translation helpful? Give feedback.
-
|
Good feedback, thanks! The current state change is announced via desktop notifications, so yes, this is unlikely to work inside docker without advanced configuration/hacking. So that's in place. Note: the reason to we use desktop notifications is that we want to avoid writing to a terminal (at all), to not mess up / conflict with the output of the application/shell. For details see here: https://docs.asciinema.org/manual/cli/desktop-notifications/ Regarding recording the pause/resume events: this is interesting idea, haven't thought of that. There are few questions to answer if we want to do that, e.g. how it should deal with the fact that pausing stops the progress of time, and events recorded after unpausing have their timestamps adjusted, as if no pause happened. Given this, it brings the question whether we would need to separate events (pause + resume), or just a single one (a combine one, "break" or sth like that). I'm considering a revamp of the asciicast file format for the upcoming CLI 3.0, and I'll take your suggestion into consideration 👍 Feel free to share more thoughts on this if something comes to your mind. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Pausing a recording to enter a password (for example) is very useful, however, it would be nice to have the fact that pause/resume events have occurred be recorded. This could be helpful for the purposes of auditing a recording so it is easy to tell there is missing data and the period for which the data is missing. Being able to (optionally) disable the pause/resume feature altogether might also be useful.
Perhaps I missed it, but it is hard to know the current state (paused or recording) when creating a recording. If there is a way this could be made clear that would also be helpful (NOTE: I was testing in a docker container so perhaps some features like notifications were unavailable).
I know I have kind of put two separate issue together here ... Sorry... Happy to break them out if that is preferred.
Beta Was this translation helpful? Give feedback.
All reactions