mirror of
https://github.com/MezzalunaWM/Mezzaluna.git
synced 2026-03-07 19:49:53 -05:00
redirect stdout/stderr in remote lua states
This commit is contained in:
parent
605c4c4a37
commit
1e31875670
1 changed files with 1 additions and 0 deletions
|
|
@ -34,6 +34,7 @@ pub fn create(client: *wl.Client, version: u32, id: u32) !void {
|
||||||
errdefer node.L.deinit();
|
errdefer node.L.deinit();
|
||||||
node.L.openLibs();
|
node.L.openLibs();
|
||||||
Lua.openLibs(node.L);
|
Lua.openLibs(node.L);
|
||||||
|
// TODO: replace stdout and stderr with buffers we can send to the clients
|
||||||
|
|
||||||
try server.remote_lua_clients.append(gpa, node);
|
try server.remote_lua_clients.append(gpa, node);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue