[input] initialize ncinput all the way through

pull/2159/head
nick black 3 years ago
parent 4a9f62f131
commit 5527fabdf5
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -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…
Cancel
Save