diff options
| author | Michael <[email protected]> | 2017-03-11 09:54:44 -0500 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-03-11 09:54:44 -0500 |
| commit | dad61e325cfcd1ce12ae6f29d3778d1c919c6ab3 (patch) | |
| tree | 64a75a52448e197c5bef4bdf0a0387be9be9a32d /ShiftOS_TheReturn | |
| parent | 49812bf46cb153af6bab8e2a095024da84fcc149 (diff) | |
| download | shiftos_thereturn-dad61e325cfcd1ce12ae6f29d3778d1c919c6ab3.tar.gz shiftos_thereturn-dad61e325cfcd1ce12ae6f29d3778d1c919c6ab3.tar.bz2 shiftos_thereturn-dad61e325cfcd1ce12ae6f29d3778d1c919c6ab3.zip | |
fix the hacker101 story some more
Diffstat (limited to 'ShiftOS_TheReturn')
| -rw-r--r-- | ShiftOS_TheReturn/Scripting.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ShiftOS_TheReturn/Scripting.cs b/ShiftOS_TheReturn/Scripting.cs index 6768efb..d96bc98 100644 --- a/ShiftOS_TheReturn/Scripting.cs +++ b/ShiftOS_TheReturn/Scripting.cs @@ -69,12 +69,16 @@ namespace ShiftOS.Engine.Scripting { if (msg.Name == "run") { + TerminalBackend.PrefixEnabled = false; var cntnts = JsonConvert.DeserializeObject<dynamic>(msg.Contents); var interp = new LuaInterpreter(); Desktop.InvokeOnWorkerThread(() => { interp.Execute(cntnts.script.ToString()); + }); + TerminalBackend.PrefixEnabled = true; + TerminalBackend.PrintPrompt(); } }; } |
