digitalmars.D - How to detect keypresses?
- example (2/2) Dec 13 2018 How can I detect a keypress in the terminal without pressing
- AlCaponeJr (8/10) Dec 14 2018 Sure you can, take a look at these:
- Adam D. Ruppe (3/4) Dec 14 2018 http://dpldocs.info/experimental-docs/arsd.terminal.html#single-key
- AlCapone (4/8) Dec 14 2018 Nice and by the way that lib is awesome I use it for my programs
How can I detect a keypress in the terminal without pressing enter?
Dec 13 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.
Dec 14 2018
On Friday, 14 December 2018 at 10:11:55 UTC, AlCaponeJr wrote:https://github.com/adamdruppe/arsd/blob/master/terminal.dhttp://dpldocs.info/experimental-docs/arsd.terminal.html#single-key there's an example for that lib
Dec 14 2018
On Friday, 14 December 2018 at 14:13:41 UTC, Adam D. Ruppe wrote:On Friday, 14 December 2018 at 10:11:55 UTC, AlCaponeJr wrote:Nice and by the way that lib is awesome I use it for my programs running on terminal and my own editor. Al.https://github.com/adamdruppe/arsd/blob/master/terminal.dhttp://dpldocs.info/experimental-docs/arsd.terminal.html#single-key there's an example for that lib
Dec 14 2018