This website works better with JavaScript.
Home
Explore
lain.church
Help
Register
Sign In
izaya
/
OC-PsychOS2
mirror of
https://git.shadowkat.net/izaya/OC-PsychOS2.git
Watch
1
Star
1
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
made io.input open buffers with mode t, for use with readline coming soonTM
master
XeonSquared
4 years ago
parent
87596c8834
commit
1cc220d38e
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
module/io.lua
+ 1
- 1
module/io.lua
View File
@@ -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…
Cancel
Save