[GH-ISSUE #138] [Feature request] Add option to automatically delete final "exit" #721

Closed
opened 2026-03-15 10:01:03 +03:00 by kerem · 1 comment
Owner

Originally created by @marius311 on GitHub (Jan 23, 2016).
Original GitHub issue: https://github.com/asciinema/asciinema/issues/138

For shell sessions, it would be nice to have an option to automatically get rid of the final "exit" command, which I don't think anyone usually wants to see anyway. I've been having to just go in and edit the file by hand. Or is there already a better way?

Originally created by @marius311 on GitHub (Jan 23, 2016). Original GitHub issue: https://github.com/asciinema/asciinema/issues/138 For shell sessions, it would be nice to have an option to automatically get rid of the final "exit" command, which I don't think anyone usually wants to see anyway. I've been having to just go in and edit the file by hand. Or is there already a better way?
kerem closed this issue 2026-03-15 10:01:08 +03:00
Author
Owner

@ku1ik commented on GitHub (Jan 24, 2016):

That's a great idea. It should be pretty easy to achieve this by removing the last stdout entry if it equals to "exit".

<!-- gh-comment-id:174307130 --> @ku1ik commented on GitHub (Jan 24, 2016): That's a great idea. It should be pretty easy to achieve this by removing the last stdout entry if it equals to "exit".
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#721
No description provided.