Now grabbing output for subprocess. Only first lines for now

This commit is contained in:
Antoine Pilote
2024-08-14 20:51:40 -04:00
parent 1eb81041fb
commit 98f490e4e1
4 changed files with 1265 additions and 2 deletions

View File

@@ -2070,6 +2070,7 @@ namespace Nuake {
ImGui::TableSetupColumn("Message", ImGuiTableColumnFlags_WidthStretch, 1.0f);
ImGui::TableNextColumn();
ImGui::PushStyleVar(ImGuiStyleVar_CellPadding, ImVec2(4, 4));
for (auto& l : Logger::GetLogs())
{
if (l.type == LOG_TYPE::VERBOSE && !LogDebug)
@@ -2560,7 +2561,6 @@ namespace Nuake {
SetStatusMessage(std::string(ICON_FA_EXCLAMATION_TRIANGLE) + " An unhandled exception occured in your script. See logs for more details.", Color(1.0f, 0.1f, 0.1f, 1.0f));
}
DrawStatusBar();
pInterface.DrawEntitySettings();