How to accept keyboard input

Such as title, Thank you.

I have found the answer, do not answer, thank you.