Throw an error on SIGINT

This commit is contained in:
Jay Kruer 2022-06-16 14:35:33 -07:00
parent 110377a3db
commit 289d95e8da

View file

@ -237,10 +237,6 @@ std::string runCode(lua_State* L, const std::string& source)
lua_pcall(T, n, 0, 0);
}
}
else if (status == LUA_SIGINT)
{
fputs("\nExecution interrupted\n", stdout);
}
else
{
std::string error;