Minor changes

This commit is contained in:
FloppyDiskDrive 2017-11-21 16:32:56 -06:00
parent d6359cad3e
commit 71e1403377
2 changed files with 6 additions and 6 deletions

View file

@ -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}");

View file

@ -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;
}