Input Functions

bool d3tui_poll_event(d3tui_event_t* event);
void d3tui_process_input(d3tui_terminal_t* term);

d3tui_poll_event() retrieves the next input event. d3tui_process_input() pumps all pending events to the terminal.