Is it possible to use key listener in a console simple text-based. Where the user will press some key and it will execute a certain line of code?
key listener
I am wo