summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThijs Schreijer <thijs@thijsschreijer.nl>2024-05-22 21:26:23 +0200
committerThijs Schreijer <thijs@thijsschreijer.nl>2024-05-22 21:26:23 +0200
commitb1e250a00406f5268a773f7923bb14708567ce9f (patch)
tree87e4a0af6edbe3ae0a293c37167dfa1713e7ebf1 /src
parent14c0f9e3b2587411d4261cb7771bdce6931b31d5 (diff)
downloadluasystem-b1e250a00406f5268a773f7923bb14708567ce9f.zip
drop debug line
Diffstat (limited to 'src')
-rw-r--r--src/term.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/term.c b/src/term.c
index 10b3e25..18e6acb 100644
--- a/src/term.c
+++ b/src/term.c
@@ -309,7 +309,6 @@ static HANDLE get_console_handle(lua_State *L, int flags_optional)
// Lua error if the file is not one of these.
static int get_console_handle(lua_State *L)
{
-printf("get_console_handle\n");
FILE **file = (FILE **)luaL_checkudata(L, 1, LUA_FILEHANDLE);
if (file == NULL || *file == NULL) {
return luaL_argerror(L, 1, "expected file handle"); // call doesn't return