fix: arrow down key did not handle wrapped lines correctly