EvoSC icon indicating copy to clipboard operation
EvoSC copied to clipboard

MOTD doesn't break words longer than the window's width

Open snixtho opened this issue 3 years ago • 0 comments

Describe the bug Probably unlikely if the user is just writing normal sentences, but if sequence of characters without space (or a long word) that happens to be longer than the width of the MOTD window, it will not wrap to a new line.

Expected behavior One idea is to break the word into a new line and put a "-" before the new line. So for the message:

abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz

It becomes

abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrs-
tuvwxyz

To Reproduce Put abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz as the MOTD message, it should be longer than the window width.

Screenshots/Logs image

EvoSC (please complete the following information):

  • EvoSC-Version: 0.99.11

snixtho avatar Mar 21 '21 12:03 snixtho