Update code for demo

This commit is contained in:
2026-03-04 11:35:46 -05:00
parent 80f9e295b5
commit d4602012f1
3 changed files with 8 additions and 8 deletions

View File

@@ -19,8 +19,9 @@ std::string RemoteDebugging::get_task_manager() {
std::string RemoteDebugging::get_logs() {
std::string out;
for (const auto& log : log_buffer->peek_drain()) {
out.append(log);
auto logs = log_buffer->peek_drain();
for (auto it = logs.rbegin(); it != logs.rend(); ++it) {
out.append(*it);
}
out.resize(800);
return out;