使用read(STDIN)或时readlines(),该函数仅在按回车键后接收文本。如何只输入一个字母而不等待返回?
read(STDIN)
readlines()
io julia
io ×1
julia ×1