On Sunday, 9 February 2014 at 22:01:46 UTC, 1100110 wrote:
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.
Brilliant, thanks. It completely escaped me that ncurses was in
the Deimos repo.