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:
parent
fd3bd861ae
commit
8052066ab0
18 changed files with 423 additions and 41 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue