From 13190d7ef8bb74f02de5551494ce639301e6f77d Mon Sep 17 00:00:00 2001 From: nova Date: Wed, 26 Feb 2025 14:02:29 +0100 Subject: [PATCH] fixed indent --- window.c | 102 +++++++++++++++++++++++++++---------------------------- 1 file changed, 51 insertions(+), 51 deletions(-) diff --git a/window.c b/window.c index b6c0fbf..5a6f458 100644 --- a/window.c +++ b/window.c @@ -73,73 +73,73 @@ void print_dir(WINDOW *win, unsigned long file_count, unsigned long longest_name void window_main(WINDOW *win, unsigned int start_y, unsigned int start_x){ - unsigned int local_width; - unsigned int local_height; - unsigned long file_count = 0; - unsigned long longest_name = 0; + unsigned int local_width; + unsigned int local_height; + unsigned long file_count = 0; + unsigned long longest_name = 0; - //{{{ size & positioning - wresize(win, terminal_height, terminal_width/3); - getmaxyx(win, local_height, local_width); - mvwin(win, start_y, start_x); - wclear(win); - //}}} - - wmove(win, 1, 1); - wprintw(win, "meow"); - get_dir_size(".", &file_count, &longest_name, 0); - char **dir_content; - dir_content = calloc(file_count, sizeof(*dir_content)); - for (unsigned long i = 0; i