Set env. var. for PDcurses SDL

devel
Aadhavan Srinivasan 2 years ago
parent 9efbc49985
commit f7f59469c2

@ -32,6 +32,10 @@ This is an ncurses tool allows you to browse your files and view/edit them in th
int main(int argc,char** argv) {
putenv("PDC_COLS=1000");
putenv("PDC_LINES=1000");
int xLen,yLen,mainX,mainY; //values for the x-length and y-length of stdscr (i.e. the terminal window), and the 'main window' inside it.
int fileCountNum; //Number of files in a given directory
int highlighted=0; //Index of the highlighted file

Loading…
Cancel
Save