Added helper functions for ncurses

master
Aadhavan Srinivasan 2 years ago
parent 2492678652
commit f0313dc338

@ -0,0 +1,16 @@
#include <ncurses.h>
int getmaxy(WINDOW* window) {
int y;
int x;
getmaxyx(window,y,x);
return y;
}
int getmaxx(WINDOW* window) {
int y;
int x;
getmaxyx(window,y,x);
return x;
}
Loading…
Cancel
Save