1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-30 05:15:59 +02:00

Added "Keep Native Console Open" option

This commit is contained in:
Brian Fiete 2024-07-24 09:41:08 +02:00
parent fd3bd861ae
commit 8052066ab0
18 changed files with 423 additions and 41 deletions

View file

@ -90,13 +90,13 @@ namespace System
static function void(StringView str) OutString = => OutString_Simple;
[CLink, CallingConvention(.Cdecl)]
static extern void putchar(char8 c);
public static extern void PutChar(char8 c);
public static extern void ReopenHandles();
static void OutString_Simple(StringView str)
{
for (var c in str.RawChars)
putchar(c);
PutChar(c);
}
static void OutString_Ex(StringView str)