Skip to content
  • Luis Javier Merino's avatar
    Fix positioning of double width/double height runs · 398a6657
    Luis Javier Merino authored and Kurt Hindenburg's avatar Kurt Hindenburg committed
    When there were several runs of double width/double height runs with
    differing color/rendition/line draw/..., the second and subsequent runs
    were positioned wrong. Fix the calculation of the starting x position to
    account for double width, and fix a bug were the y position was
    incremented for every run instead of for every line.
    
    Can be tested with:
    perl -E '$s="\e[0mTEST\e[32mTEST\e[0m"; say "\e#3$s\n\e#4$s"'
    398a6657