GNU read has -n options and that can set the character that will read, from document:
-n ncharsread returns after reading nchars characters rather
than waiting for a complete line of input.
read -n 1 will only read one character and quit.
But input() will read the input until user type Enter (like read without -n option does).
And I didn't find any option of input() . Does input() support this or Python has other function can do this?