summaryrefslogtreecommitdiff
path: root/internal/runtime
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-13 10:23:00 +0300
committerPaul Buetow <paul@buetow.org>2026-05-13 10:23:00 +0300
commitd799f3f04da8067669c90a755e90cd723f9746e7 (patch)
tree02c0c5dda7aaa0d79a230e043297ad822cf2b9f0 /internal/runtime
parent5856360a696b958a4c5c57cf512c5a04f0cfd66f (diff)
fix: use shell-aware tokenizer in resolveEditorCommand to handle EDITOR paths with spaces
Replace strings.Fields with a new shellSplit function that implements POSIX-like quoting rules (single-quotes, double-quotes, backslash escapes), so EDITOR values such as '/My Editor/hx' or "/path/with spaces/hx" --wait are correctly parsed rather than mangled into multiple path components. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/runtime')
0 files changed, 0 insertions, 0 deletions