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

Add support for finding terminal size and use that for splitting #19

Closed
mgeisler opened this issue Jan 21, 2017 · 2 comments
Closed

Add support for finding terminal size and use that for splitting #19

mgeisler opened this issue Jan 21, 2017 · 2 comments

Comments

@mgeisler
Copy link
Owner

mgeisler commented Jan 21, 2017

We could ship with a convenience function that will automatically find the terminal width on Unix and Windows and wrap the text accordingly.

@kbknapp
Copy link

kbknapp commented Jan 30, 2017

Take a look at term_size if you haven't already 😉 I'd also welcome any contributions to that crate.

@mgeisler
Copy link
Owner Author

@kbknapp Thanks, I was already thinking of using that!

mgeisler added a commit that referenced this issue Apr 30, 2017
This function will create a Wrapper with its width set to the current
terminal width.

Fixes #19.
mgeisler added a commit that referenced this issue May 8, 2017
This function will create a Wrapper with its width set to the current
terminal width.

Fixes #19.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants