--- nono/vm/scheduler.cpp 2026/04/29 17:05:11 1.1.1.14 +++ nono/vm/scheduler.cpp 2026/04/29 17:05:14 1.1.1.15 @@ -506,8 +506,8 @@ Scheduler::MonitorUpdate(Monitor *, Text // 0 1 2 3 // 012345678901234567890123456789 - // Set Time Remain Time - // 3.123'456'789 3.123'456'789 + // Event Time Remain Time + // 3.123'456'789 3.123'456'789 // // 3 4 5 6 7 // 01234567890123456789012345678901234567890123456789 @@ -524,7 +524,9 @@ Scheduler::MonitorUpdate(Monitor *, Text for (const auto ev : all_events) { uint64 rem; TA attr; + if (ev->IsRunning()) { + attr = TA::Normal; if (ev->vtime > vtime) { rem = ev->vtime - vtime; } else { @@ -535,14 +537,13 @@ Scheduler::MonitorUpdate(Monitor *, Text rem = 0; } } else { + attr = TA::Disable; rem = 0; } if (ev->count != ev->last_count) { attr = TA::Normal; ev->last_count = ev->count; - } else { - attr = TA::Disable; } // 先にイベント回数を表示。 @@ -550,7 +551,7 @@ Scheduler::MonitorUpdate(Monitor *, Text // 大勢に影響はないだろう。 std::string countstr = format_number(ev->count); screen.Print(54, y, attr, "%26s", countstr.c_str()); - screen.Print(0, y, attr, "%13s %13s %s ", + screen.Print(0, y, attr, "%14s %14s %s ", SecToStr(ev->time).c_str(), SecToStr(rem).c_str(), ev->GetName().c_str());