Removed some little artifacts
This commit is contained in:
1 parent
07dfe830fb
commit
689b1129f5
1 file changed
+2
-1
@@ -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