|
|
@ -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) {
|
|
|
|
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 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 fileCountNum; //Number of files in a given directory
|
|
|
|
int highlighted=0; //Index of the highlighted file
|
|
|
|
int highlighted=0; //Index of the highlighted file
|
|
|
|