cursor returns an empty terminal page