From 09215a05ddc717b2eaf667737ac6baa724c5f2bc Mon Sep 17 00:00:00 2001 From: Alex-TIMEHACK Date: Sat, 14 Oct 2017 18:42:11 +0100 Subject: YOY terminal --- ShiftOS.Main/ShiftOS/Apps/Terminal.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ShiftOS.Main/ShiftOS') diff --git a/ShiftOS.Main/ShiftOS/Apps/Terminal.cs b/ShiftOS.Main/ShiftOS/Apps/Terminal.cs index cb5bed3..a9bd093 100644 --- a/ShiftOS.Main/ShiftOS/Apps/Terminal.cs +++ b/ShiftOS.Main/ShiftOS/Apps/Terminal.cs @@ -7,6 +7,8 @@ using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; +using ShiftOS.Engine; +using ShiftOS.Engine.Terminal; namespace ShiftOS.Main.ShiftOS.Apps { @@ -43,7 +45,8 @@ namespace ShiftOS.Main.ShiftOS.Apps // termmain.Paste(DataFormats.GetFormat(DataFormats.Text)); e.Handled = true; } else if (e.KeyCode == Keys.Enter) { - Print(RunCommand(termmain.Text.Substring(TrackingPosition, termmain.Text.Length - TrackingPosition))); // The most horrific line in the entire application! + Print(TerminalBackend.RunCommand(termmain.Text.Substring(TrackingPosition, termmain.Text.Length - TrackingPosition))); // The most horrific line in the entire application! + e.Handled = true; } } -- cgit v1.2.3