fix update lag in curses screen