Modify src/main.c
Signed-off-by: 0xf8 <0xf8.dev@proton.me>
This commit is contained in:
parent
fcb6abb194
commit
aa4872c215
@ -116,7 +116,6 @@ int main(int argc, char **argv) {
|
||||
|
||||
clear();
|
||||
|
||||
// TODO: add framelimiting
|
||||
while (true) {
|
||||
time_t *t = (time_t *)malloc(sizeof(time_t) + 1);
|
||||
time(t);
|
||||
@ -192,7 +191,7 @@ void drawbignumber(struct bignumber_t *bn, int sec, int startx, int starty) {
|
||||
if (partOfMimick) attron(A_BOLD);
|
||||
else attron(COLOR_PAIR(1));
|
||||
|
||||
if (currentSec) attron(A_REVERSE),attron(A_BOLD),attron(COLOR_PAIR(2));
|
||||
if (currentSec) attron(A_REVERSE),attron(COLOR_PAIR(2));
|
||||
|
||||
addstr(padded_num->s);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user