In some Windows environments, such as Godot, you need to replace "\n" with "\r\n" for it to work correctly.
Current Behavior:
using var state = LuaState.Create();
state.OpenStandardLibraries();
_ = await state.DoStringAsync("for i = 1, 10 do print(i) end");
Output:
Expected Output:
In some Windows environments, such as Godot, you need to replace "\n" with "\r\n" for it to work correctly.
Current Behavior:
Output:
Expected Output: