fixes mostly related to WorkerList.js

This commit is contained in:
2024-10-13 09:23:59 +02:00
parent 72b9044ba7
commit 39b17cb62a
16 changed files with 96 additions and 35 deletions

View File

@@ -0,0 +1,18 @@
import { listWorkServers } from "/Library.js";
/** @param {NS} ns */
export async function main(ns) {
ns.disableLog("ALL");
ns.tail();
ns.resizeTail(522,625);
let nStatus = 0;
let aStatus = ["─", "╲", "│", ""];
while (true) {
ns.clearLog();
listWorkServers(ns);
ns.printRaw(aStatus[nStatus])
nStatus++;
if (nStatus > 3) nStatus = 0;
await ns.sleep(1050);
}
}