prim/source/comp/hr.d

12 lines
115 B
D
Raw Permalink Normal View History

2023-08-09 19:05:26 +00:00
module comp.hr;
string hr(int col) {
string ps;
foreach (i; 0 .. col) {
2023-08-10 14:44:06 +00:00
ps ~= '─';
2023-08-09 19:05:26 +00:00
}
return ps;
}