Fixed terminal line wrapping bug.
Previous build was broken for all but emperors.