If you want a solid line, you could use U+2501 (━) from the set of box drawing characters (https://en.wikipedia.org/wiki/Box-drawing_character):
<━> 9473, U+2501 BOX DRAWINGS HEAVY HORIZONTAL
hr(){printf '━%.0s' $(seq $COLUMNS)}