From 55038fd7c1da2b9014c7d1322f7d5f4e937710fa Mon Sep 17 00:00:00 2001 From: Guillaume B Date: Wed, 17 Jun 2009 19:49:06 +0200 Subject: [PATCH] Corrected minor stuff about the animation. --- ttyclock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ttyclock.c b/ttyclock.c index 0018cde..fb5ec2e 100644 --- a/ttyclock.c +++ b/ttyclock.c @@ -98,7 +98,7 @@ init(void) set_center(ttyclock->option.center); - nodelay(ttyclock->framewin, TRUE); + nodelay(stdscr, True); wrefresh(ttyclock->datewin); wrefresh(ttyclock->framewin); @@ -325,7 +325,7 @@ key_event(void) struct timespec length = { 0, UPDATETIME }; - switch(c = wgetch(ttyclock->framewin)) + switch(c = wgetch(stdscr)) { case KEY_UP: case 'k':