1
Hello I am developing an algorithm to make a scrolling of Dungeons & Dragons plug, and as much changes in the plug I wanted to make a scheme where by pressing some key I could modify some value, but I have no idea how to start. Would anyone have any hint or way to do it ?
Eduardo, good afternoon to you! You should exemplify how this scrolling works, you should add an implementation attempt, otherwise the moderator will close your question. Hug!
– lmonferrari
This is a duplicate question that already has an answer here: https://answall.com/questions/429791/aceitar-input-de-usu%C3%a1rio-sem-a-necessidade-do-mesmo-apertar-enter/429854#429854 TL;DR: it’s boring, because it doesn’t depend on the language but rather on the terminal I/O treatment - then the best way is to use a terminal specific lib. The linked response suggests the "finished".
– jsbueno