From 8fb827ab05646a5351f2aef2f88f147c5c66589c Mon Sep 17 00:00:00 2001 From: Bitl Date: Fri, 6 Jan 2023 16:06:08 -0700 Subject: [PATCH] console changes --- Novetus/NovetusLauncher/Forms/NovetusConsole.Designer.cs | 5 +++++ Novetus/NovetusLauncher/Forms/NovetusConsole.cs | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Novetus/NovetusLauncher/Forms/NovetusConsole.Designer.cs b/Novetus/NovetusLauncher/Forms/NovetusConsole.Designer.cs index 9307f83..5fe7030 100644 --- a/Novetus/NovetusLauncher/Forms/NovetusConsole.Designer.cs +++ b/Novetus/NovetusLauncher/Forms/NovetusConsole.Designer.cs @@ -53,6 +53,8 @@ // // CommandBox // + this.CommandBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); this.CommandBox.BackColor = System.Drawing.SystemColors.WindowText; this.CommandBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.CommandBox.ForeColor = System.Drawing.Color.White; @@ -60,9 +62,11 @@ this.CommandBox.Name = "CommandBox"; this.CommandBox.Size = new System.Drawing.Size(783, 20); this.CommandBox.TabIndex = 1; + this.CommandBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ProcessConsole); // // EnterButton // + this.EnterButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.EnterButton.BackColor = System.Drawing.SystemColors.ControlText; this.EnterButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.EnterButton.ForeColor = System.Drawing.Color.Lime; @@ -73,6 +77,7 @@ this.EnterButton.Text = "Enter"; this.EnterButton.UseVisualStyleBackColor = false; this.EnterButton.Click += new System.EventHandler(this.EnterButton_Click); + this.EnterButton.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ProcessConsole); // // NovetusConsole // diff --git a/Novetus/NovetusLauncher/Forms/NovetusConsole.cs b/Novetus/NovetusLauncher/Forms/NovetusConsole.cs index 29b7acd..cdc8bb6 100644 --- a/Novetus/NovetusLauncher/Forms/NovetusConsole.cs +++ b/Novetus/NovetusLauncher/Forms/NovetusConsole.cs @@ -476,7 +476,6 @@ namespace NovetusLauncher { ConsoleBox.Text = ""; ScrollToTop(); - Console.Clear(); } private void ScrollToTop()