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 word-wrap support, with wrap length provided by the user #1119

Merged
merged 1 commit into from Jun 18, 2022

Commits on May 23, 2022

  1. Add word-wrap support, with wrap length provided by the user

    We could try to automatically detect the terminal width and wrap at that
    point, but this would increase the binary footprint for all users even
    if not using this feature.
    
    Instead, we can allow users to specify their preferred line length limit
    (if any), and those who want to bear the cost of checking the terminal
    size can do so if they wish. This also makes the feature more testable.
    
    Original patch by Sascha Grunert <sgrunert@suse.com>
    mostynb committed May 23, 2022
    Copy the full SHA
    4fd56cb View commit details
    Browse the repository at this point in the history