Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify output file in wezterm record #6625

Open
Tyarel8 opened this issue Feb 2, 2025 · 0 comments · May be fixed by #6626
Open

Specify output file in wezterm record #6625

Tyarel8 opened this issue Feb 2, 2025 · 0 comments · May be fixed by #6626
Labels
enhancement New feature or request

Comments

@Tyarel8
Copy link

Tyarel8 commented Feb 2, 2025

Is your feature request related to a problem? Please describe.
When using wezterm record, there is no way to specify the output file.

Describe the solution you'd like
Add a new flag to the cli -o that accepts a path and write the asciicast to that file when that flag is present, otherwise, keep writing to a random filename in the temporary directory.

Describe alternatives you've considered
I can always look in the temp directory for the newest file that starts with the wezterm-recording prefix, but I think this is a better solution and easy to implement.

Additional context
If there are no issues with this feature, I'm willing to implement it myself, shouldn't be too hard.

@Tyarel8 Tyarel8 added the enhancement New feature or request label Feb 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant