refractoring & hidden files functionality
This commit is contained in:
2
main.c
2
main.c
@ -6,6 +6,7 @@
|
||||
|
||||
unsigned int terminal_height;
|
||||
unsigned int terminal_width;
|
||||
unsigned int settings;
|
||||
unsigned long file_count;
|
||||
unsigned long longest_name;
|
||||
char **content_l; //content of parent dir, used in left window
|
||||
@ -22,6 +23,7 @@ int main() {
|
||||
WINDOW *winl = newwin(terminal_height, terminal_width/3, terminal_height, (terminal_width/3));
|
||||
WINDOW *winm = newwin(terminal_height, terminal_width/3, 0, 0);
|
||||
WINDOW *winr = newwin(terminal_height, terminal_width/3, terminal_height, ((terminal_width/3)*2));
|
||||
settings = 1; //bit 0 = show_hidden_files
|
||||
|
||||
|
||||
while((ch = wgetch(winm)) != 'q'){
|
||||
|
Reference in New Issue
Block a user