mirror of
https://github.com/ShiftOS-Rewind/ShiftOS.git
synced 2025-01-22 03:11:47 -05:00
Minor changes
This commit is contained in:
parent
d6359cad3e
commit
71e1403377
2 changed files with 6 additions and 6 deletions
|
@ -37,7 +37,7 @@ namespace ShiftOS.Main.Terminal.Commands
|
|||
}
|
||||
else
|
||||
{
|
||||
WriteLine("List of valid commands for ShiftOS. \nTo get help for a specific command, type \"help <command>\".\r\n");
|
||||
WriteLine("List of valid commands for ShiftOS. \n To get help for a specific command, type \"help <command>\".\r\n");
|
||||
foreach (var t in TerminalBackend.instances)
|
||||
{
|
||||
WriteLine($"{t.Name}: {t.Summary}");
|
||||
|
|
|
@ -33,7 +33,7 @@ namespace ShiftOS.Main.Terminal
|
|||
/// <param name="value"><summary>The text to write before the new line is made.</summary></param>
|
||||
public virtual void WriteLine(string value)
|
||||
{
|
||||
Array.Find(TerminalBackend.trm.ToArray(), w => w.TerminalID == TermID).termmain.AppendText($"{value} \n");
|
||||
Array.Find(TerminalBackend.trm.ToArray(), w => w.TerminalID == TermID).termmain.AppendText($" {value} \n");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
@ -46,8 +46,8 @@ namespace ShiftOS.Main.Terminal
|
|||
ShiftOS.Apps.Terminal trm = Array.Find(TerminalBackend.trm.ToArray(), w => w.TerminalID == TermID);
|
||||
|
||||
int startPoint = trm.termmain.Text.Length;
|
||||
trm.termmain.AppendText($"{value} \n");
|
||||
trm.termmain.Select(startPoint, $"{value} \n".Length);
|
||||
trm.termmain.AppendText($" {value} \n");
|
||||
trm.termmain.Select(startPoint, $" {value} \n".Length);
|
||||
trm.termmain.SelectionColor = textClr;
|
||||
}
|
||||
|
||||
|
@ -62,8 +62,8 @@ namespace ShiftOS.Main.Terminal
|
|||
ShiftOS.Apps.Terminal trm = Array.Find(TerminalBackend.trm.ToArray(), w => w.TerminalID == TermID);
|
||||
|
||||
int startPoint = trm.termmain.Text.Length;
|
||||
trm.termmain.AppendText($"{value}");
|
||||
trm.termmain.Select(startPoint, $"{value}".Length);
|
||||
trm.termmain.AppendText($" {value}");
|
||||
trm.termmain.Select(startPoint, $" {value}".Length);
|
||||
trm.termmain.SelectionColor = textClr;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue