do you have any idea why the following python code that uses curses occasionally fails to delete the line?
                                curses.setsyx(rows-2, 0)
                                screen.clrtoeol()