diff options
Diffstat (limited to 'ShiftOS.WinForms/Tools')
| -rw-r--r-- | ShiftOS.WinForms/Tools/ControlManager.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ShiftOS.WinForms/Tools/ControlManager.cs b/ShiftOS.WinForms/Tools/ControlManager.cs index f9fb799..32f0217 100644 --- a/ShiftOS.WinForms/Tools/ControlManager.cs +++ b/ShiftOS.WinForms/Tools/ControlManager.cs @@ -229,8 +229,19 @@ namespace ShiftOS.WinForms.Tools if (a.Control && a.KeyCode == Keys.T) { a.SuppressKeyPress = true; + + + if (SaveSystem.CurrentSave != null) + { + if (Shiftorium.UpgradeInstalled("window_manager")) + { + Engine.AppearanceManager.SetupWindow(new Applications.Terminal()); + } + } } + ShiftOS.Engine.Scripting.LuaInterpreter.RaiseEvent("on_key_down", a); + //a.Handled = true; }; if (ctrl is Button) { |
