After logging in to a room server, when there is a message with newline characters on the room server, the message penetrates into the next message.
Which device are you using
LilyGO T-Deck Plus
Which Firmware are you using
v0.9.11
To Reproduce
Log in to a room server which has a message with at least three lines and a subsequent message.
See that the message with at least three lines penetrates into the next message.
Photographs:
Room server console view:
"DMs" view:
Regards!
**Describe the bug**
After logging in to a room server, when there is a message with newline characters on the room server, the message penetrates into the next message.
**Which device are you using**
LilyGO T-Deck Plus
**Which Firmware are you using**
v0.9.11
**To Reproduce**
1. Log in to a room server which has a message with at least three lines and a subsequent message.
2. See that the message with at least three lines penetrates into the next message.
Photographs:
---
Room server console view:
<img width="1319" height="997" alt="Image" src="https://github.com/user-attachments/assets/4f86f35e-7a29-4a89-85f7-7d2980b1e4ee" />
"DMs" view:
<img width="1602" height="1199" alt="Image" src="https://github.com/user-attachments/assets/c81d8de2-3549-4861-95ad-9c2b3e935475" />
---
Regards!
<!-- github-sync-id:4274562116 -->
Hm, can it be that there is duplicated code for doing the same thing at different places in the software (see also.)? Maybe a good solution would be to have one piece of code handling text rendering, embedded into another piece of code handling rendering of multiple pieces of text/ messages?, so then if display issues fixed in one place they are fixed everywhere?
Regards!
Hm, can it be that there is duplicated code for doing the same thing at different places in the software ([see also](https://github.com/dabeani/meshcoreterm/issues/137#issuecomment-4016351149).)? Maybe a good solution would be to have one piece of code handling text rendering, embedded into another piece of code handling rendering of multiple pieces of text/ messages?, so then if display issues fixed in one place they are fixed everywhere?
Regards!
<!-- github-comment-id:4273625629 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Describe the bug
After logging in to a room server, when there is a message with newline characters on the room server, the message penetrates into the next message.
Which device are you using
LilyGO T-Deck Plus
Which Firmware are you using
v0.9.11
To Reproduce
Photographs:
Room server console view:

"DMs" view:

Regards!
Hm, can it be that there is duplicated code for doing the same thing at different places in the software (see also.)? Maybe a good solution would be to have one piece of code handling text rendering, embedded into another piece of code handling rendering of multiple pieces of text/ messages?, so then if display issues fixed in one place they are fixed everywhere?
Regards!
Fixed in v0.9.14
Messages no longer overlap or leave stray blank lines. Shared helper!
Difficult to test, closing.