-
Notifications
You must be signed in to change notification settings - Fork 1
Add width argument to Documenter #35
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
Conversation
thanks for the PR! I think there are two sides to it:
The "player" object for documenter is made by the html/javascript code here: Lines 165 to 168 in 579da86
cols : https://docs.asciinema.org/manual/player/options/. So I think what you need to do is read the width from the Cast object and use it in AsciinemaPlayer.create to also set the cols of the player.
|
Ready for review now 👍 |
Any news on this? |
Could you add an example to the documentation to show the usage Also, I have the vague feeling I set |
ah, looks like there is some documenter issue with
|
sorry for the delay! my notifications have been kinda swamped |
Closes #34.
@ericphanson I managed to add the argument, but I'm afraid I need a little more help here.

The width is now larger than before, and the lines are not wrapped anymore. However, the terminal itself is still the same size and the font as well, which means that the lines are clipped now.
Is there a way to make this work as intended? Thanks!