end current curses