skip 0x200B line split guidance like new line if line starts with it

This commit is contained in:
DeaTh-G 2025-04-02 21:07:43 +02:00
parent d2f28d42f0
commit 63012c2250

View file

@ -510,6 +510,11 @@ std::vector<std::string> Split(const char* strStart, const ImFont* font, float f
if (*str == '\n')
str++;
if (strncmp(str, "\u200B", 3) == 0)
{
str += 3;
}
lineStart = str;
continue;
}