From e91e2722d15c126aa11de6a9d1aa493b87e43274 Mon Sep 17 00:00:00 2001 From: Joachim Stolberg Date: Sun, 27 Jan 2019 23:41:37 +0100 Subject: [PATCH] v2.01 SaferLua Terminal to be connected to the SaferLua Controller --- sl_controller/terminal.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sl_controller/terminal.lua b/sl_controller/terminal.lua index 886898e..145f3ea 100644 --- a/sl_controller/terminal.lua +++ b/sl_controller/terminal.lua @@ -20,7 +20,7 @@ Controller to the Terminal. Commands can have up to 80 characters. Local commands: -- cls = clear screen +- clear = clear screen - help = this message - pub = switch to public use - priv = switch to private use @@ -64,7 +64,7 @@ local function command(pos, cmnd, player) if cmnd then cmnd = cmnd:sub(1,80) - if cmnd == "cls" then + if cmnd == "clear" then meta:set_string("output", "") meta:set_string("formspec", formspec2(meta)) elseif cmnd == "help" then