Handling keyboard events

We’ve been seeing latency with the smallest possible update rather than updating a whole TUI UI, so that’s not the problem unfortunately. We also referenced the TUI implementations in other languages and they didn’t do any rendering optimisation so it seems it’s not much of an issue.

Either way a NIF is not viable for CLI programs as can’t share them as part of an escript.

Good to hear, thank you.