prim/source/comp/hr.d

12 lines
115 B
D

module comp.hr;
string hr(int col) {
string ps;
foreach (i; 0 .. col) {
ps ~= '─';
}
return ps;
}