mirror of
https://github.com/ShiftOS-Rewind/ShiftOS.git
synced 2025-01-22 17:52:15 +00: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 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 RunningCommand = false;
|
||||
public bool WaitingResponse = false;
|
||||
|
|
|
@ -45,6 +45,7 @@ namespace ShiftOS.Main.Terminal
|
|||
return;
|
||||
}
|
||||
}
|
||||
if (command.Length == 0) return;
|
||||
if (!complete)
|
||||
{
|
||||
Array.Find(trm.ToArray(), w => w.TerminalID == TermID).termmain.AppendText($"\n sbash: invalid command: {command.Split(' ').First()}");
|
||||
|
|
Loading…
Reference in a new issue