From 65889079b671f9ef2a51fdddfcf3a182b6215a1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zo=C3=AB=20Hoekstra?= Date: Fri, 6 May 2022 12:41:02 +0200 Subject: [PATCH] Add log entry when ui.clearTerminal() is ran --- src/NetscriptFunctions/UserInterface.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/NetscriptFunctions/UserInterface.ts b/src/NetscriptFunctions/UserInterface.ts index ebde95885..85f21ff61 100644 --- a/src/NetscriptFunctions/UserInterface.ts +++ b/src/NetscriptFunctions/UserInterface.ts @@ -112,6 +112,7 @@ export function NetscriptUserInterface( clearTerminal: function (): void { updateRam("clearTerminal"); + workerScript.log("ui.clearTerminal", () => `Clearing terminal`); Terminal.clear(); }, };