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

Formats status message strings longer than cols #379

Open
wants to merge 1 commit into
base: pu
Choose a base branch
from

Conversation

MorganSeltzer000
Copy link
Contributor

Previously if msg1 of a status_mesg was longer than the number of
columns, it would be overwritten by msg2.

Now if msg1 is longer than the number of columns, msg2 is offset by 5
from the end of msg1, and a vertical bar character '|' is placed to show
the separation between lines. If the 5 character separation would place
msg2 offscreen, the separation is not applied.

Signed-off-by: Morgan Seltzer [email protected]

Previously if msg1 of a status_mesg was longer than the number of
columns, it would be overwritten by msg2.

Now if msg1 is longer than the number of columns, msg2 is offset by 5
from the end of msg1, and a vertical bar character '|' is placed to show
the separation between lines. If the 5 character separation would place
msg2 offscreen, the separation is not applied.

Signed-off-by: Morgan Seltzer <[email protected]>
@MorganSeltzer000
Copy link
Contributor Author

Forgot to mention, this was described in more detail in issue #378.

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

Successfully merging this pull request may close these issues.

1 participant