mattmess1221 / tabbychat

TabbyChat chat mod for Minecraft
20 stars 9 forks source link

Formatting codes causes unneeded spaces in multiline chat messages #14

Closed ghost closed 9 years ago

ghost commented 9 years ago

Multiline in chat works well except where formatting codes are on the additional lines in chat.

After some base level testing I found that formatting codes get converted and then a space added either before or after the formatting code, however only on the additional lines displayed in chat.

I'm using TabbyChat-1.7.10-1.11.1.114-fml.jar with Forge 10.13.0.1180, OptiFine 1.7.10_HD_U_A4, Pixelmon 3.3.8, MapWriter 2.1.1 and InputFix V5.

As a clearer demonstration of the issue, running the /pl command on my server causes chat to exceed the border of the chat window regardless of the window size. Images below should help to represent the issue.

2015-01-03_16 20 20 2015-01-03_16 16 33 2015-01-03_16 16 37 2015-01-03_16 16 42

I noticed this in Build 113 however did not think much of it until I seen the same issue in SirWilli's screenshot on his issue report. Thanks. ~BAI1

Brottweiler commented 9 years ago

Duplicate of https://github.com/killjoy1221/tabbychat/issues/13. I can confirm the issue, but I'm not sure what causing it.

ghost commented 9 years ago

This is NOT a duplicate of #13 . I do NOT have the DualHotbar mod nor is the issue related to scrolling, tabs or buttons. ~BAI1

Brottweiler commented 9 years ago

Hmm, sorry then, it looks from the chat formatting that he has the same issue as you. But you are probably correct, sorry!