INNER CODE UNIT · C#
count
HexaEngine/HexaEngine · CrashReporter/CrashWindow.cs:52
int count = Encoding.UTF8.GetByteCount(msg) + 64;
ImGui.InputTextMultiline("##Msg"u8, ref msg, (nuint)count, avail, ImGuiInputTextFlags.ReadOnly);
}
ImGui.EndChild();
ImGui.SetNextItemWidth(-100);
if (ImGui.Button("Ok"))
{
Close();
}
ImGui.SameLine();
if (reportFile != null && ImGui.Button("Open Log"))
{
Process.Start(reportFile);
}
if (!shown)
{