about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-11-25 20:51:38 -0800
committerKartik K. Agaram <vc@akkartik.com>2021-11-25 20:51:38 -0800
commitf5221ba6515cc4f97ae680bdb8250ed37643e653 (patch)
tree1acb1c40fa1948502f0f4ca08e359e54613441eb
parent73a22a397e8b41014e8c6684a381c9b0679b997f (diff)
downloadteliva-f5221ba6515cc4f97ae680bdb8250ed37643e653.tar.gz
one more curses binding
-rw-r--r--src/lcurses/curses.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lcurses/curses.lua b/src/lcurses/curses.lua
index 216fb42..174a91e 100644
--- a/src/lcurses/curses.lua
+++ b/src/lcurses/curses.lua
@@ -17,6 +17,7 @@ function M.getstr (s) return curses.stdscr():getstr(s) end
 function M.mvgetstr (y, x, s) return curses.stdscr():mvgetstr(y, x, s) end
 
 function M.getyx ()    return curses.stdscr():getyx() end
+function M.getmaxyx () return curses.stdscr():getmaxyx() end
 function M.keypad (b)  return curses.stdscr():keypad(b) end
 function M.move (y,x)  return curses.stdscr():move(y,x) end
 function M.refresh ()  return curses.stdscr():refresh() end