summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2023-05-28 14:34:38 +0200
committerSébastien Helleu <flashcode@flashtux.org>2023-05-29 17:10:25 +0200
commit96f41ce4bfdbd57aee7103479faff54d7093e087 (patch)
treeb81e39aecfd0a6c727cfcd99257f9035f68c3d38 /tools
parentf1a826a1169a1b6a4d3d33aa280aaf117dd182a3 (diff)
downloadweechat-96f41ce4bfdbd57aee7103479faff54d7093e087.zip
core: fix chat colors at certain positions not being applied
The new rendering of multiline lines had some issues with colors at certain positions not being applied. The color would not be applied if the color code was at either of these positions: - At the start of a line after a newline character - At the end of a line after a space and before a newline character - At a line by itself before a newline character The way I had done it by considering newline characters as a word in gui_chat_get_word_info with a variable specifying that it's newline characters became messy and didn't really make sense, so rather than doing this, I changed gui_chat_get_word_info to stop before the first newline character. That way, we can just check if we are at a newline character at the start of the loop, and don't need any more special handling. Fixes #1928
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions