For some applications, it would be nice to get both keyup and keydown events instead of just keypress (which is logged once and then repeated after a delay).
Unfortunately, I have read that ANSI terminals only expose keypress, so this is likely not possible, but I wanted to open an issue anyway to get a more definitive answer (and to capture this potential limitation for posterity).
For some applications, it would be nice to get both keyup and keydown events instead of just keypress (which is logged once and then repeated after a delay).
Unfortunately, I have read that ANSI terminals only expose keypress, so this is likely not possible, but I wanted to open an issue anyway to get a more definitive answer (and to capture this potential limitation for posterity).