diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-11-13 22:48:14 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-11-13 22:48:14 -0800 |
commit | e990682fb2cd4ab4c3ef8e96231df387a53be0c5 (patch) | |
tree | c3a98b94d81d0c32e8d1c8fb6010dfb68ab18b8a /src | |
parent | 55302fd877a424de1f40e37adcd231982bd2c3a1 (diff) | |
download | teliva-e990682fb2cd4ab4c3ef8e96231df387a53be0c5.tar.gz |
.
Diffstat (limited to 'src')
-rw-r--r-- | src/lua.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lua.c b/src/lua.c index f187015..84448b7 100644 --- a/src/lua.c +++ b/src/lua.c @@ -399,10 +399,7 @@ void browseImage (lua_State *L) { ++y; lua_pop(L, 1); // pop value, leave key on stack for next iteration } - int maxy, maxx; - getmaxyx(stdscr, maxy, maxx); - (void)maxx; // unused - mvaddstr(maxy-1, 0, "edit what? "); + mvaddstr(LINES-1, 0, "edit what? "); char definition[64] = {0}; getnstr(definition, 60); editImage(L, definition); |