paleofetch

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 437ea3371c59308f9fce690a5236b6cba53b1147
parent adb4ae031484c5eee4ed166ad0f6a6c4ce86149f
Author: sam-barr <samfbarr@outlook.com>
Date:   Wed, 22 Apr 2020 22:22:47 -0500

COLOR now affects get_title

Diffstat:
Mpaleofetch.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/paleofetch.c b/paleofetch.c @@ -118,7 +118,7 @@ char *get_title() { title_length = strlen(hostname) + strlen(username) + 1; char *title = malloc(BUF_SIZE); - snprintf(title, BUF_SIZE, "\e[1;36m%s\e[0m@\e[1;36m%s", username, hostname); + snprintf(title, BUF_SIZE, COLOR"%s\e[0m@"COLOR"%s", username, hostname); return title; }