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

outdent: pad with trailing space to fixed with plus terminating characters #510

Open
samliddicott opened this issue Jun 13, 2023 · 1 comment

Comments

@samliddicott
Copy link

Please consider a feature where all lines are padded to the same length with spaces, and maybe trailing characters appended.

This means it easy to box text by using vertical box lines at either end of the line, especially in conjunction with #460

However boxing can be done externally if all lines are padded to the same width

@samliddicott
Copy link
Author

Those outputting to terminal (and not to text file) can move the cursor to the right-column pad position $PAD_SIZE with:

tput el
tput cr
tput cuf ${PAD_SIZE}

and then emit whatever right-side bounding character they want

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

No branches or pull requests

1 participant