Better check that SCROLL_RIGHT < WIDTH here since targetLine[WIDTH].code has special EOL_xxx values.