aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2020-10-26 10:46:32 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2020-10-26 10:46:32 -0400
commit564a1055c728952d44d3bd5988599bc0361579d3 (patch)
treec9253761e3a8f4ee66e5b91894b648961ef7655c /src
parentee31abb5cc18957debba369c33e9e388dd812a4b (diff)
Indicate 2-cells in rank>2 character arrays to distinguish spacing rows from rows of spaces
Diffstat (limited to 'src')
-rw-r--r--src/fmt.bqn2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fmt.bqn b/src/fmt.bqn
index 61bd8639..d1e593ed 100644
--- a/src/fmt.bqn
+++ b/src/fmt.bqn
@@ -63,7 +63,7 @@
CSub ← { 𝕩 + (𝕩(=×'␡'-⊢)@+127) + ('␀'-@)×𝕩<@+32 }
𝕩 ↩ (1≠=)◶⟨(1+q=⊢)⊸/,Csub⟩ 𝕩
r ← =𝕩
- (r Enframe 1 PadH PadV)⍟(1≠r) ≍ (c↑q) ∾⎉k 𝕩 ∾⎉k c-⊸↑q
+ (r Enframe 1 PadH PadV)⍟(1≠r) ≍ (q⌾⊑c⥊(¯1⊑1∾c)↑'·') ∾⎉k 𝕩 ∾⎉k c-⊸↑q
}‿{
# Not homogeneous, or empty
(∨´0=≢)◶FmtMixed‿FmtEmpty 𝕩