From bf7fcf52ad5373e25fbe399f4f1dd1091f53c159 Mon Sep 17 00:00:00 2001 From: AShifter Date: Sun, 18 Jun 2017 18:39:27 -0700 Subject: Some more terminal work IT WORKS! IT WWOOOOORRRKKKSS!!! YOu can now use Thread.Sleep(); without issues. --- TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTerminal.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTerminal.cs') diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTerminal.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTerminal.cs index d25b409..174c5b4 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTerminal.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTerminal.cs @@ -20,9 +20,7 @@ namespace TimeHACK.OS.Win95.Win95Apps public WinClassicTerminal() { InitializeComponent(); - this.richTextBox1.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0))); } - private SoundPlayer startsound; /// /// Write text to the Terminal and create a new line. Very similar to the Win32 Console.WriteLine Function. /// @@ -30,6 +28,7 @@ namespace TimeHACK.OS.Win95.Win95Apps public void WriteLine(string Text) { richTextBox1.AppendText(Text + "\n"); + richTextBox1.Update(); } /// @@ -39,6 +38,7 @@ namespace TimeHACK.OS.Win95.Win95Apps public void Write(String Text) { richTextBox1.AppendText(Text); + richTextBox1.Update(); } } } -- cgit v1.2.3