mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-24 02:03:01 +02:00
NETSCRIPT: Add undocumented function printRaw() (#277)
This is analagous to tprintRaw (enabled by ns.iKnowWhatImDoing()), but for logs instead of the terminal. This provides a supported* method of creating complicated UIs for scripts. *No actual support, expressed or implied, is provided for use of this function.
This commit is contained in:
@@ -517,7 +517,7 @@ export const ns: InternalAPI<NSFull> = {
|
||||
return [] as string[];
|
||||
}
|
||||
|
||||
return runningScriptObj.logs.slice();
|
||||
return runningScriptObj.logs.map((x) => "" + x);
|
||||
},
|
||||
tail:
|
||||
(ctx) =>
|
||||
|
||||
Reference in New Issue
Block a user