Skip to content

Commit

Permalink
🐛 Fix real time console display
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinbreiz committed Jan 24, 2024
1 parent 24331ab commit d346f57
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
2 changes: 1 addition & 1 deletion SRC/Aura_OS/Properties/VersionInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ namespace Aura_OS
{
public class VersionInfo
{
public static string revision = "240120241516";
public static string revision = "240120241529";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,25 @@ public override void WriteLine(string value)
_terminal.Console.Background = Console.BackgroundColor;

_terminal.Console.WriteLine(value);

Kernel.WindowManager.DrawWindows();
Kernel.Taskbar.Update();
Kernel.canvas.Display();
}
}

public override void Write(string value)
{
if (_isEnabled)
{
_terminal.Console.Foreground = Console.ForegroundColor;
_terminal.Console.Background = Console.BackgroundColor;

_terminal.Console.Write(value);

Kernel.WindowManager.DrawWindows();
Kernel.Taskbar.Update();
Kernel.canvas.Display();
}
}

Expand All @@ -40,6 +59,10 @@ public override void Write(char value)
_terminal.Console.Background = Console.BackgroundColor;

_terminal.Console.Write(value.ToString());

Kernel.WindowManager.DrawWindows();
Kernel.Taskbar.Update();
Kernel.canvas.Display();
}
}

Expand Down

0 comments on commit d346f57

Please sign in to comment.