mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-10 01:29:05 -04:00
[input] initialize ncinput all the way through
This commit is contained in:
parent
4a9f62f131
commit
5527fabdf5
@ -551,6 +551,7 @@ handle_queued_input(ncinputlayer* nc, ncinput* ni,
|
||||
if(nc->inputbuf_occupied == 0){
|
||||
return -1;
|
||||
}
|
||||
memset(ni, 0, sizeof(*ni));
|
||||
int r = pop_input_keypress(nc);
|
||||
ret = handle_getc(nc, r, ni, leftmargin, topmargin);
|
||||
if(ret != (uint32_t)-1){
|
||||
|
Loading…
x
Reference in New Issue
Block a user