Module:MOS in EDO: Difference between revisions
m a spelling error |
Removing use of double-border, as it cluttered up the output |
||
| Line 162: | Line 162: | ||
local no_border = "─" | local no_border = "─" | ||
local single_border = "┼" | local single_border = "┼" | ||
local step_visualization = "" | local step_visualization = "" | ||
| Line 168: | Line 167: | ||
-- For each step size of k, print a single border, followed by k-1 no-border symbols | -- For each step size of k, print a single border, followed by k-1 no-border symbols | ||
-- If this is the first step, print the left border instead | -- If this is the first step, print the left border instead | ||
-- If this is the last step, add a right border after the entire sequence | -- If this is the last step, add a right border after the entire sequence | ||
for i = 1, #step_pattern do | for i = 1, #step_pattern do | ||
| Line 176: | Line 174: | ||
if i == 1 then | if i == 1 then | ||
current_step_vis = left_border .. string.rep(no_border, current_step_size - 1) | current_step_vis = left_border .. string.rep(no_border, current_step_size - 1) | ||
else | else | ||
current_step_vis = single_border .. string.rep(no_border, current_step_size - 1) | current_step_vis = single_border .. string.rep(no_border, current_step_size - 1) | ||