EvoSC
EvoSC copied to clipboard
MOTD doesn't break words longer than the window's width
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
EvoSC (please complete the following information):
- EvoSC-Version: 0.99.11