怎样使用 io.read() 与 LuaSublime?

我正在使用 LuaSublime

a = io.read()
print(a) -- nil

它不让我输入任何东西,只是打印出 nil。

有什么方法可以修复这个问题吗?

点赞