How to have a terminal session where i can type in something, ask questions to the user and so on?

So i’m trying to build a typing speed checker as a practice. I don’t know how to have a consistent terminal session where i will first ask the user to login and then after login user will have a place to type. I’m trying to do something similar to NodeJS’s repl. How to do it?
Is there a library for that?

There are several libraries that help you with adding ad prompt to you application. Examples:

1 Like

Thanks, this is exactly what i was looking for!

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.