analog clock in ncurses