From c81573594f509177214bbc9b64427c8aabdc30a6 Mon Sep 17 00:00:00 2001 From: AShifter Date: Sat, 25 Nov 2017 08:59:48 -0700 Subject: Add SaveSystem, FullScreen Terminal and stuff Git had a horrible seizure and removed our repo but Alex-TIMEHACK helped us get it back. --- ShiftOS.Main/Program.cs | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'ShiftOS.Main/Program.cs') diff --git a/ShiftOS.Main/Program.cs b/ShiftOS.Main/Program.cs index f7c00eb..acce816 100644 --- a/ShiftOS.Main/Program.cs +++ b/ShiftOS.Main/Program.cs @@ -15,7 +15,24 @@ namespace ShiftOS.Main Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); - Application.Run(new Desktop()); - } + + + bool terminalMode = true; + if (terminalMode) + { + Form terminalForm = new Form(); + ShiftOS.Apps.Terminal term = new ShiftOS.Apps.Terminal(); + terminalForm.Controls.Add(term); + terminalForm.FormBorderStyle = FormBorderStyle.None; + terminalForm.WindowState = FormWindowState.Maximized; + term.Dock = DockStyle.Fill; + //terminalForm.Show(); + Application.Run(terminalForm); + } + else + { + Application.Run(new Desktop()); + } + } } } \ No newline at end of file -- cgit v1.2.3