Capturing keystrokes

1100110 0b1100110 at gmail.com
Sun Feb 9 14:01:45 PST 2014


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.


More information about the Digitalmars-d mailing list