Players can spam/flood the chat with very long messages. This has the following effects:
Immediately kick players that abuse the chat.
STK release version: 1.0.0
Yes, the layout is completly broken when it mess up with this:
testtesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttest

The chat feature could have a frequency limit as well as a character limit. It might also be worth (if not done already) limiting characters on the server-side so newlines can't be spammed, etc..
Would it be possible to word wrap text without spaces, say if you were sending a url or other string in chat?
Or allow scrolling to previous messages
This issue is !!!NOT!!! just about word wrapping! Word wrapping is just a part of it.
It is also about that players can send very loooong messages that cover the entire screen. Just try repeating the same word over and over again.
I think there could be a system that detects if the text is touching the edge of the chat. Then, if so, open a new line.
I think there could be a system that detects if the text is touching the edge of the chat. Then, if so, open a new line.
As Wuzzy2 said, that is not the issue. Word wrapping (the name for what you suggested) has already been discussed.
The issue is that I can send messages to you while you are driving and they will show up on your screen. If I make long messages that cover multiple lines, it will cover the screen and block your view of the road.
Benau recently added something to avoid long message in game. Have a try!
Also i think we should add a max chatting frequency per player in serverconf
This should be much less of an issue now.
The height of the in-race chat is limited to 3 lines (5 earlier on, and unlimited at the time this issue was opened), and one can chose to keep the lobby chat on but the in-race chat off.
Keeping open because some frequency-limiting on message sending would be useful.
Most helpful comment
Benau recently added something to avoid long message in game. Have a try!
Also i think we should add a max chatting frequency per player in serverconf