public Configuration()
        {
            SerialisableColour white = new SerialisableColour(255, 255, 255);

            Prompt = "#ff57aaff[ #ffffc05e$User$#ffffd4b2@#ffffc05e$MachineName$ #ff57aaff| #ffcacaca$CurrentWorkingDirectory$ #ff57aaff] ";

            CommandTextInputColour = white;
            CommandTextOutputColour = new SerialisableColour(213, 228, 191);
            CommandTextOutputHighlightColour = new SerialisableColour(255, 116, 48);

            DefaultOutputColour = white;
            ErrorColour = new SerialisableColour(255, 0, 0);
            WarningColour = new SerialisableColour(0, 255, 255);
            BackgroundColour = new SerialisableColour(0, 0, 0);
            InputFieldBackgroundColour = new SerialisableColour(64, 64, 64);
            SelectionBackgroundColour = new SerialisableColour(177, 136, 66);

            TitleColour = new SerialisableColour(85, 255, 161);
            HighlightColour = new SerialisableColour(197, 128, 255);

            ListDirectoryColour = new SerialisableColour(85, 255, 209);
            ListFileColour = new SerialisableColour(255, 247, 209);
            ListExecutableColour = new SerialisableColour(255, 100, 231);

            Font = "Lucida Console";
            FontSize = 8.0f;

            LowerCaseMachineName = true;

            FormState = new Nil.FormState();

            Aliases = new Nil.SerialisableDictionary<string, string>();
        }
 public void PrintWithColour(string line, SerialisableColour colour)
 {
     SetOutputColour(colour.ToColour());
     Print(line);
     SetOutputColour(ProgramConfiguration.DefaultOutputColour.ToColour());
 }
 public ColouredString(string content, SerialisableColour colour = null)
 {
     Content = content;
     Colour = colour;
 }