print curses at certain interval