Skip to content

Commit

Permalink
Another fix in ConsoleTest
Browse files Browse the repository at this point in the history
The register for the german keyboard fixed
  • Loading branch information
Owen2k6 authored Apr 5, 2023
1 parent 2133718 commit 73f286f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Tests/Kernels/ConsoleTest/Kernel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ public void TestConsoleEncoding()
Console.WriteLine("Let's write some accented characters: èòàùì");
Console.WriteLine("Let's print all the CP437 codepage");

Sys.Global.mDebugger.SendInternal("");
//Sys.Global.mDebugger.SendInternal("");
// unsure on importance but this no longer works

Console.Write("Ç ü é â ä à å ç ê ë è ï î ì Ä Å\n" +
"É æ Æ ô ö ò û ù ÿ Ö Ü ¢ £ ¥ ₧ ƒ\n" +
Expand Down Expand Up @@ -121,7 +122,7 @@ public void TestConsoleEncoding()
//Console.WriteLine("Test Format (hex) {0:x}", 42);

Console.WriteLine("Layout switched to DE...");
Sys.KeyboardManager.SetKeyLayout(new DEStandardLayout());
KeyboardManager.SetKeyLayout(new DEStandardLayout());
Console.WriteLine("Write in german now I'll read it with Console.ReadLine()...");

var str = Console.ReadLine();
Expand Down

0 comments on commit 73f286f

Please sign in to comment.