diff options
| author | Michael <[email protected]> | 2017-05-13 10:22:51 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-05-13 10:22:51 -0400 |
| commit | c0f0e99f9d2a092209e710107c1f061fc8a2eaca (patch) | |
| tree | 98169cbdfdc13966719671178ba982dbad5808e3 /ShiftOS.WinForms/Applications/Terminal.cs | |
| parent | 94e1603b8574b45b809d3c66b6b90e7734a99d1e (diff) | |
| download | shiftos_thereturn-c0f0e99f9d2a092209e710107c1f061fc8a2eaca.tar.gz shiftos_thereturn-c0f0e99f9d2a092209e710107c1f061fc8a2eaca.tar.bz2 shiftos_thereturn-c0f0e99f9d2a092209e710107c1f061fc8a2eaca.zip | |
Dithering, audio volume, and fix shutdown bug
Diffstat (limited to 'ShiftOS.WinForms/Applications/Terminal.cs')
| -rw-r--r-- | ShiftOS.WinForms/Applications/Terminal.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ShiftOS.WinForms/Applications/Terminal.cs b/ShiftOS.WinForms/Applications/Terminal.cs index a14cc58..02c4cc0 100644 --- a/ShiftOS.WinForms/Applications/Terminal.cs +++ b/ShiftOS.WinForms/Applications/Terminal.cs @@ -491,9 +491,9 @@ namespace ShiftOS.WinForms.Applications TerminalBackend.InStory = false; TerminalBackend.PrintPrompt(); bool help_entered = false; - TerminalBackend.TextSent += (text) => + TerminalBackend.CommandProcessed += (text, args) => { - if (text == "sos.help" && help_entered == false) + if (text.EndsWith("sos.help") && help_entered == false) help_entered = true; }; while (help_entered == false) @@ -523,10 +523,10 @@ namespace ShiftOS.WinForms.Applications TerminalBackend.InStory = false; bool winopenEntered = false; TerminalBackend.PrintPrompt(); - TerminalBackend.TextSent += (text) => + TerminalBackend.CommandProcessed += (text, args) => { if (help_entered == true) - if (text == "win.open" && winopenEntered == false) + if (text.EndsWith("win.open") && winopenEntered == false) winopenEntered = true; }; while (winopenEntered == false) |
