mirror of
https://github.com/asciinema/asciinema.git
synced 2026-04-25 16:05:52 +03:00
[GH-ISSUE #138] [Feature request] Add option to automatically delete final "exit" #106
Labels
No labels
bug
compatibility
feature request
fit for beginners
help wanted
hosting
idea
improvement
packaging
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asciinema#106
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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?
@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".