Skip to content

Commit

Permalink
Let's specially mark translated items so it's obvious which ones to l…
Browse files Browse the repository at this point in the history
…ook for
  • Loading branch information
scottbilas committed Aug 8, 2023
1 parent 8141f27 commit ea5226c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/Unity.Cli/Commands_RunDo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ public static CliExitCode RunDoMonoSym(CommandContext context)
return match.Value;
++replaced;
return symbol.ToString(addr);
return '*' + symbol.ToString(addr);
});

if (replaced == 0)
Expand All @@ -192,7 +192,11 @@ public static CliExitCode RunDoMonoSym(CommandContext context)

foreach (var line in symbolicated.Split('\n'))
{
var display = (line.StartsWith('[') ? "> " : " ") + line.Trim();
var display = line.Trim();
if (line.StartsWith('['))
display = "> " + display;
else if (line.StartsWith('*'))
display = "* " + display[1..];

var wrapping = false;
for (;;)
Expand Down

0 comments on commit ea5226c

Please sign in to comment.