Update boo

This commit is contained in:
Jack Andersen 2018-01-21 12:03:48 -10:00
parent d3e1829994
commit f546400cc1
5 changed files with 9 additions and 3 deletions

View File

@ -166,6 +166,7 @@ public:
_recursivePrint(0, rep); _recursivePrint(0, rep);
hecl::Printf(_S("\n")); hecl::Printf(_S("\n"));
} }
fflush(stdout);
if (continuePrompt()) if (continuePrompt())
{ {

View File

@ -175,6 +175,7 @@ public:
for (auto& item : m_selectedItems) for (auto& item : m_selectedItems)
hecl::Printf(_S(" %s\n"), item.getRelativePath().data()); hecl::Printf(_S(" %s\n"), item.getRelativePath().data());
fflush(stdout);
if (continuePrompt()) if (continuePrompt())
{ {

2
hecl/extern/boo vendored

@ -1 +1 @@
Subproject commit 3d987b6dc9e2c06072a5a09832e85bbd4279c2a4 Subproject commit 93c787dcd486525ead1d655f00d530ef78c4c514

View File

@ -406,7 +406,9 @@ Connection::Connection(int verbosityLevel)
auto lk = logvisor::LockLog(); auto lk = logvisor::LockLog();
if (!WriteConsoleA(GetStdHandle(STD_OUTPUT_HANDLE), lpBuffer, if (!WriteConsoleA(GetStdHandle(STD_OUTPUT_HANDLE), lpBuffer,
nBytesRead, &nCharsWritten, NULL)) nBytesRead, &nCharsWritten, NULL))
BlenderLog.report(logvisor::Error, "Error with WriteConsole: %08X", GetLastError()); {
//BlenderLog.report(logvisor::Error, "Error with WriteConsole: %08X", GetLastError());
}
} }
CloseHandle(consoleOutRead); CloseHandle(consoleOutRead);

View File

@ -869,7 +869,9 @@ int RunProcess(const SystemChar* path, const SystemChar* const args[])
auto lk = logvisor::LockLog(); auto lk = logvisor::LockLog();
if (!WriteConsoleA(GetStdHandle(STD_OUTPUT_HANDLE), lpBuffer, if (!WriteConsoleA(GetStdHandle(STD_OUTPUT_HANDLE), lpBuffer,
nBytesRead, &nCharsWritten, NULL)) nBytesRead, &nCharsWritten, NULL))
LogModule.report(logvisor::Error, "Error with WriteConsole: %08X", GetLastError()); {
//LogModule.report(logvisor::Error, "Error with WriteConsole: %08X", GetLastError());
}
} }
CloseHandle(consoleOutRead); CloseHandle(consoleOutRead);