Bullet points in markdown are '*' or '-'.

This commit is contained in:
Bartosz Taudul
2025-05-19 23:54:36 +02:00
parent c0e89f992d
commit ea956f4cb2

View File

@@ -783,7 +783,7 @@ void TracyLlm::PrintLine( LineContext& ctx, const std::string& str, int num )
const auto begin = str.c_str();
ptr = begin;
while( *ptr == ' ' || *ptr == '\t' ) ptr++;
if( ptr[0] == '*' && ptr[1] == ' ' )
if( ( ptr[0] == '*' || ptr[0] == '-' ) && ptr[1] == ' ' )
{
ImGui::TextUnformatted( std::string( ptr - begin, ' ' ).c_str() );
ImGui::SameLine();