diff options
Diffstat (limited to 'ShiftOS.Main/Program.cs')
| -rw-r--r-- | ShiftOS.Main/Program.cs | 21 |
1 files changed, 19 insertions, 2 deletions
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 |
