mirror of https://github.com/quasar/Quasar.git
Close RemoteShell window on exit
This commit is contained in:
parent
dddc4a70c7
commit
3ba3a10b13
|
@ -49,6 +49,10 @@ private void txtConsoleInput_KeyDown(object sender, KeyEventArgs e)
|
||||||
case "cls":
|
case "cls":
|
||||||
txtConsoleOutput.Text = string.Empty;
|
txtConsoleOutput.Text = string.Empty;
|
||||||
break;
|
break;
|
||||||
|
case "exit":
|
||||||
|
new Core.Packets.ServerPackets.ShellCommand(input).Execute(cClient);
|
||||||
|
this.Close();
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
new Core.Packets.ServerPackets.ShellCommand(input).Execute(cClient);
|
new Core.Packets.ServerPackets.ShellCommand(input).Execute(cClient);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue