diff --git a/Server/Forms/FrmRemoteShell.cs b/Server/Forms/FrmRemoteShell.cs index b3a142ab..612325b8 100644 --- a/Server/Forms/FrmRemoteShell.cs +++ b/Server/Forms/FrmRemoteShell.cs @@ -42,7 +42,7 @@ namespace xServer.Forms { if (e.KeyCode == Keys.Enter && !string.IsNullOrEmpty(txtConsoleInput.Text.Trim())) { - string input = txtConsoleInput.Text; + string input = txtConsoleInput.Text.TrimStart(); txtConsoleInput.Text = string.Empty; bool isExit = (input.StartsWith("exit") && input.Length > "exit".Length && input[4] == ' ') || input == "exit";