diff --git a/res/ascii/windows.txt b/res/ascii/windows.txt index 3335c14..9b01570 100644 --- a/res/ascii/windows.txt +++ b/res/ascii/windows.txt @@ -1,9 +1,9 @@ -{RED}{BLOCK}{BLOCK}{BLOCK}{BLOCK}{BLOCK}{BLOCK}{BLOCK}{BLOCK}{BLOCK}{BLOCK}{GREEN}{BLOCK}{BLOCK}{BLOCK}{BLOCK}{BLOCK}{BLOCK}{BLOCK}{BLOCK}{BLOCK}{BLOCK} -{RED}{BLOCK_VERTICAL} {BLOCK}{BLOCK}{BLOCK} {GREEN}{BLOCK_VERTICAL} {BLOCK}{BLOCK}{BLOCK} {BLOCK_VERTICAL} -{RED}{BLOCK_VERTICAL} {BLOCK_VERTICAL}{BLOCK} {GREEN}{BLOCK_VERTICAL} {BLOCK}{BLOCK_VERTICAL} {BLOCK_VERTICAL} -{RED}{BLOCK_VERTICAL} {BLOCK}{BLOCK}{BLOCK}{BLOCK}{BLOCK}{BLOCK_VERTICAL} {GREEN}{BLOCK_VERTICAL} {BLOCK_VERTICAL}{BLOCK}{BLOCK}{BLOCK}{BLOCK}{BLOCK} {BLOCK_VERTICAL} -{RED}{BLOCK_VERTICAL}{BLOCK}{BLOCK}{BLOCK}{BLOCK}{BLOCK}{BLOCK}{BLOCK}{BLOCK}{BLOCK}{GREEN}{BLOCK_VERTICAL}{BLOCK}{BLOCK}{BLOCK}{BLOCK}{BLOCK}{BLOCK}{BLOCK}{BLOCK}{BLOCK_VERTICAL} -{BLUE}{BLOCK_VERTICAL} {YELLOW} {BLOCK_VERTICAL} {BLOCK_VERTICAL} -{BLUE}{BLOCK_VERTICAL} {BLOCK} {YELLOW} {BLOCK} {BLOCK} {BLOCK_VERTICAL} -{BLUE}{BLOCK_VERTICAL} {BLOCK_VERTICAL}{BLOCK}{YELLOW}{BLOCK_VERTICAL}{BLOCK}{BLOCK_VERTICAL} {BLOCK_VERTICAL} -{BLUE}{BLOCK_VERTICAL}{BLOCK}{BLOCK}{BLOCK}{BLOCK}{B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K}{BLOCK}{BLOCK}{BLOCK}{BLOCK}{BLOCK}{YELLOW}{BLOCK}{BLOCK}{BLOCK}{BLOCK}{BLOCK}{BLOCK}{BLOCK}{BLOCK}{BLOCK}{BLOCK_VERTICAL} diff --git a/uwufetch.c b/uwufetch.c index 095ae9e..5bfa206 100644 --- a/uwufetch.c +++ b/uwufetch.c @@ -124,11 +124,7 @@ char user[128], host[256], shell[64], host_model[256], kernel[256], version_name gpu_model[64][256], pkgman_name[64], image_name[128], *config_directory = NULL, *cache_content = NULL; -#ifndef __WINDOWS__ char *terminal_cursor_move = "\033[18C"; -#else // __WINDOWS__ -char *terminal_cursor_move = "\033[21C"; -#endif // __WINDOWS__ // functions definitions, to use them in main() int pkgman(); @@ -1005,6 +1001,9 @@ void get_info() } #endif // __WINDOWS__ + if (strcmp(version_name, "windows")) + terminal_cursor_move = "\033[21C"; + // package count pkgs = pkgman();