mirror of
https://github.com/Tha14/toxic.git
synced 2024-12-23 15:43:24 +01:00
an experiment gone horribly wrong
This commit is contained in:
parent
ce76896eb3
commit
c37311ae36
@ -68,7 +68,7 @@ struct tm *get_time(void)
|
||||
void print_time(WINDOW *window)
|
||||
{
|
||||
uint8_t s[MAX_STR_SIZE];
|
||||
strftime(s, MAX_STR_SIZE, "[%H:%M] ", get_time());
|
||||
strftime(s, MAX_STR_SIZE, "[%H:%M:%S] ", get_time());
|
||||
|
||||
wattron(window, COLOR_PAIR(BLUE));
|
||||
wprintw(window, "%s", s);
|
||||
|
Loading…
Reference in New Issue
Block a user