Removed some little artifacts
This commit is contained in:
3
nclock.c
3
nclock.c
@@ -93,7 +93,8 @@ void draw(state *s) {
|
||||
while (1) {
|
||||
time(&timer);
|
||||
curTime = localtime(&timer);
|
||||
initState(s);
|
||||
initState(s); //This will manage the refresh of center positions on resizing.
|
||||
clear(); //because there were some artifacts
|
||||
drawTime(s, curTime->tm_hour, curTime->tm_min, curTime->tm_sec);
|
||||
refresh();
|
||||
sleep(1);
|
||||
|
Reference in New Issue
Block a user