Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
3

Input without the enter key

chilipepper09
chilipepper09

So im building a text based game but i don't like that enter needs to be pressed in order to enter the input, i was wondering if there was a way do input without the enter key

3 years ago

Voters

Comments

TopNew
1
AlexanderTarn
AlexanderTarn

from readchar import readchar
(variable name) = readchar()
if((variable name) == (whatever):
code

does that help?

3 years ago
Load more