1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-25 02:58:02 +02:00

Fixed Console.Readline, added Console.KeyAvailable

This commit is contained in:
Brian Fiete 2023-04-17 15:16:19 -07:00
parent e71cb928a6
commit 037cb39240
5 changed files with 92 additions and 10 deletions

View file

@ -260,6 +260,8 @@ namespace System
return OpenStreamReader(.In, ref mIn);
}
}
public static bool KeyAvailable => In.CanReadNow;
public static Result<char8> Read() => In.Read();