On 2/7/14, 6:17, Chris wrote:
Just out of interest, is there a way of capturing keystrokes in D? E.g. if you have a CLI application that wants to capture Ctrl+... and the like, and possibly control the cursor.
Check the Deimos github repo. (github.com/D-Programming-Deimos/ncurses I think)
Ncurses bindings live in there. It can do everything you mention and more. If you decide to use it, let me know if you find any bugs.