mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-08 01:10:23 +00:00
block_on_input: pass HANDLE** #2402
This commit is contained in:
parent
caaeec5094
commit
cf36985c69
@ -2047,7 +2047,7 @@ block_on_input(inputctx* ictx, unsigned* rtfd, unsigned* rifd){
|
|||||||
#ifdef __MINGW64__
|
#ifdef __MINGW64__
|
||||||
int timeoutms = nonblock ? 0 : -1;
|
int timeoutms = nonblock ? 0 : -1;
|
||||||
DWORD ncount = 0;
|
DWORD ncount = 0;
|
||||||
const HANDLE* handles[2];
|
HANDLE handles[2];
|
||||||
if(!ictx->stdineof){
|
if(!ictx->stdineof){
|
||||||
if(ictx->ibufvalid != sizeof(ictx->ibuf)){
|
if(ictx->ibufvalid != sizeof(ictx->ibuf)){
|
||||||
handles[ncount++] = ictx->stdinhandle;
|
handles[ncount++] = ictx->stdinhandle;
|
||||||
|
Loading…
Reference in New Issue
Block a user