From 0e74056cbbda0c49ec852d4d98e32e0a8565be18 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 13 Nov 2021 22:48:59 -0800 Subject: . --- src/lua.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lua.c') diff --git a/src/lua.c b/src/lua.c index 84448b7..2d8c5fd 100644 --- a/src/lua.c +++ b/src/lua.c @@ -399,6 +399,7 @@ void browseImage (lua_State *L) { ++y; lua_pop(L, 1); // pop value, leave key on stack for next iteration } + lua_settop(L, 0); mvaddstr(LINES-1, 0, "edit what? "); char definition[64] = {0}; getnstr(definition, 60); -- cgit 1.4.1-2-gfad0