本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
lain.church
說明
註冊
登入
izaya
/
OC-PsychOS2
镜像来自
https://git.shadowkat.net/izaya/OC-PsychOS2.git
關注
1
收藏
1
複製
0
程式碼
問題
0
版本發佈
0
Wiki
活動
瀏覽代碼
made io.input open buffers with mode t, for use with readline coming soonTM
master
XeonSquared
4 年之前
父節點
87596c8834
當前提交
1cc220d38e
共有
1 個檔案被更改
,包括
1 行新增
和
1 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
module/io.lua
+ 1
- 1
module/io.lua
查看文件
@@ -8,7 +8,7 @@ end
function io.input(fd) -- table -- table -- Sets the default input stream to *fd* if provided, either as a buffer as a path. Returns the default input stream.
if type(fd) == "string" then
fd=io.open(fd,"rb")
fd=io.open(fd,"rb
t
")
end
if fd then
os.setenv("STDIN",fd)
Write
Preview
Loading…
取消
儲存