How to detect keypresses?

AlCaponeJr a at c.com
Fri Dec 14 10:11:55 UTC 2018


On Friday, 14 December 2018 at 01:54:51 UTC, example wrote:
> How can I detect a keypress in the terminal without pressing 
> enter?

Sure you can, take a look at these:

https://github.com/adamdruppe/arsd/blob/master/terminal.d
or
https://github.com/robik/ConsoleD/blob/master/source/consoled.d

By the way next time please use this topic for this kind of 
doubt: https://forum.dlang.org/group/learn

Al.


More information about the Digitalmars-d mailing list