aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2021-01-24 20:36:48 -0500
committerMarshall Lochbaum <mwlochbaum@gmail.com>2021-01-24 20:36:48 -0500
commitac2854ae1408fb2a0f03ccccb57e338202fbb9da (patch)
tree12b2ebefd8ed12b47c27bf85f1161acdeb8eaeab /src
parentab94ef9c46883f5c3b2a6d4561dad840f09c5caa (diff)
Force fill for character array to be a space when formatting
Diffstat (limited to 'src')
-rw-r--r--src/f.bqn2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/f.bqn b/src/f.bqn
index 16347bed..02fc4b8d 100644
--- a/src/f.bqn
+++ b/src/f.bqn
@@ -60,7 +60,7 @@
FmtSimple ← (≠(0⊸<+≤)+´)∘(⥊<@˙)◶{ # Depth 1
# All characters
- r ← =𝕩 ⋄ 𝕩 ↩ 0↓𝕩
+ r ← =𝕩 ⋄ 𝕩 ↩ 0↓𝕩⌾⊢""
k ← ∞⍟(0⊸=) -≠ c ← ¯1↓≢𝕩
q ← '"'
# Escape quotes in strings (rank 1) and substitute control chars