Stop channeling printbuffers to stdostream. Instead, provide an invocation CHANNEL_PRINTS.

This commit is contained in:
2025-12-15 22:22:03 -05:00
parent a0703effc3
commit f528ba69fe
6 changed files with 24 additions and 16 deletions

View File

@@ -91,7 +91,7 @@ void LuaConsole::add(eng::string line) {
// Try to parse the lua expression
{
LuaVar result;
LuaDefStack LS(lua_state_, result);
LuaExtStack LS(lua_state_, result);
eng::string errmsg = LS.load(result, partial, "stdin");
if (errmsg.empty()) {
words_.push_back(lua_mode);