Skip to content

Formats status message strings longer than cols#379

Open
MorganSeltzer000 wants to merge 1 commit intolfos:pufrom
MorganSeltzer000:pu3
Open

Formats status message strings longer than cols#379
MorganSeltzer000 wants to merge 1 commit intolfos:pufrom
MorganSeltzer000:pu3

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 MorganSeltzer000@gmail.com

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 <MorganSeltzer000@gmail.com>
@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