mirror of
https://github.com/ShiftOS-Rewind/ShiftOS.git
synced 2025-01-22 03:11:47 -05:00
yay changes v2
This commit is contained in:
parent
8c95325ac4
commit
00446b7fe8
2 changed files with 3 additions and 2 deletions
|
@ -11,7 +11,7 @@ namespace ShiftOS.Main.ShiftOS.Apps
|
||||||
{
|
{
|
||||||
public int TerminalID = TerminalBackend.trmTopID++; // Used so that we can have multiple instances of the terminal whilst the command begin run knowing what terminal to send the text to - very complicated ;)
|
public int TerminalID = TerminalBackend.trmTopID++; // Used so that we can have multiple instances of the terminal whilst the command begin run knowing what terminal to send the text to - very complicated ;)
|
||||||
public string defaulttextBefore = "user> ";
|
public string defaulttextBefore = "user> ";
|
||||||
public string defaulttextResult = "[user@shiftos ~]$ "; // NOT YET IMPLEMENTED!!!
|
public string defaulttextResult = "[user@shiftos~]$> "; // NOT YET IMPLEMENTED!!!
|
||||||
public bool DoClear = false;
|
public bool DoClear = false;
|
||||||
public bool RunningCommand = false;
|
public bool RunningCommand = false;
|
||||||
public bool WaitingResponse = false;
|
public bool WaitingResponse = false;
|
||||||
|
|
|
@ -45,7 +45,8 @@ namespace ShiftOS.Main.Terminal
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(!complete)
|
if (command.Length == 0) return;
|
||||||
|
if (!complete)
|
||||||
{
|
{
|
||||||
Array.Find(trm.ToArray(), w => w.TerminalID == TermID).termmain.AppendText($"\n sbash: invalid command: {command.Split(' ').First()}");
|
Array.Find(trm.ToArray(), w => w.TerminalID == TermID).termmain.AppendText($"\n sbash: invalid command: {command.Split(' ').First()}");
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue