1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-04 16:46:46 +02:00

Fix line wrapping/padding issues

It should now parse messages with newlines properly as well as messages that
contain long sequences of characters with no spaces
This commit is contained in:
jfreegman
2020-11-24 19:47:04 -05:00
parent f0c4906fdc
commit d35a38735b
3 changed files with 71 additions and 33 deletions

View File

@ -58,7 +58,6 @@ struct line_info {
uint32_t id;
uint16_t len; /* combined length of entire line */
uint16_t msg_len; /* length of the message */
uint8_t newlines;
uint16_t format_lines; /* number of lines the combined string takes up (dynamically set) */
struct line_info *prev;