changed acx1_rect() to pad end of lines with current attribute