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

Allow size control by line count (height) and character count (width) #578

Open
dusktreader opened this issue Jan 30, 2025 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@dusktreader
Copy link

Is your feature request related to a problem? Please describe.
I love with vhs that you can declaratively define what you would like to show. However, specifying the with and height of the output is non-intuitive. It's a frustrating of setting sizes, producing a gif, tweaking sizes, producing a gif, tweaking sizes...

Describe the solution you'd like
It would be much nicer to be able to define the size of the output in terms of the text output. It should be possible to set the height by the number of lines and the width by the number of characters.

Describe alternatives you've considered
I've used Width and Height to tinker with the output size, but it's not a lot of fun.

Additional context
asciinema provides size controls by "cols" and "rows": https://docs.asciinema.org/manual/player/options/#cols

@dusktreader dusktreader added the enhancement New feature or request label Jan 30, 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

No branches or pull requests

1 participant