Add WIN32 pseudo console APIs

See #999
This commit is contained in:
Justine Tunney 2023-12-10 01:29:25 -08:00
parent 1bd69867d1
commit 4f66d7f2dd
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
7 changed files with 72 additions and 2 deletions

View file

@ -106,6 +106,11 @@ bool32 SetConsoleCursorInfo(
int64_t hConsoleOutput,
const struct NtConsoleCursorInfo *lpConsoleCursorInfo);
long CreatePseudoConsole(struct NtCoord size, int64_t hInput, int64_t hOutput,
uint32_t dwFlags, int64_t *out_phPC);
long ResizePseudoConsole(int64_t hPC, struct NtCoord size);
void ClosePseudoConsole(int64_t hPC);
#if ShouldUseMsabiAttribute()
#include "libc/nt/thunk/console.inc"
#endif /* ShouldUseMsabiAttribute() */