1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-23 06:23:02 +01:00

an experiment gone horribly wrong

This commit is contained in:
Jfreegman 2014-03-12 18:48:25 -04:00
parent ce76896eb3
commit c37311ae36

View File

@ -68,7 +68,7 @@ struct tm *get_time(void)
void print_time(WINDOW *window) void print_time(WINDOW *window)
{ {
uint8_t s[MAX_STR_SIZE]; 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)); wattron(window, COLOR_PAIR(BLUE));
wprintw(window, "%s", s); wprintw(window, "%s", s);