summaryrefslogtreecommitdiff
path: root/src/macos/Sources/ScenePostprocessor.swift
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-30 11:03:10 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:17 -0300
commit67be3b6594a60d36723000a1a33a09016b29ff97 (patch)
tree3260b872643bf98f001e59038e5c55e06268b229 /src/macos/Sources/ScenePostprocessor.swift
parenta96c7e873d26686f0e49cf2882c1336046396d37 (diff)
downloadpardes-67be3b6594a60d36723000a1a33a09016b29ff97.tar.gz
pardes-67be3b6594a60d36723000a1a33a09016b29ff97.zip
A control character in a write to any ctl file refuses the whole write, and a refused line is quoted with its control bytes shown as blanks
fs.md already promised that the whole of a write to /ctl, a pane's ctl and a column's ctl is checked first, as it is for exec and look. But a ctl write ran its lines one by one, so a line holding a control byte gave that line's own, misleading reason ("unknown command"). Worse, the reason quoted the raw byte back into the err record. The check now happens in tree.write before anything runs, with the same EINVAL and reason exec gives. A refusal's quoted line shows control bytes as blanks, so an err record never carries a raw escape. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/macos/Sources/ScenePostprocessor.swift')
0 files changed, 0 insertions, 0 deletions