mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Enable more of the IO library in Lua sandbox
Also changes the Lua warning color to red.
This commit is contained in:
@@ -1509,6 +1509,11 @@ return function(_python, _bridged)
|
||||
ult = math.ult,
|
||||
},
|
||||
io = {
|
||||
stdin = io.stdin,
|
||||
stdout = io.stdout,
|
||||
stderr = io.stderr,
|
||||
input = io.input,
|
||||
output = io.output,
|
||||
read = io.read,
|
||||
write = io.write,
|
||||
flush = io.flush,
|
||||
|
Reference in New Issue
Block a user