diff options
| author | divens <divens@users.noreply.github.com> | 2026-07-07 16:05:31 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-07 16:05:31 +0200 |
| commit | d1a85aedfed81bc8d6af9b8aab6231d240379c77 (patch) | |
| tree | 68313cac21bb92b0a1c2b71394bae848b239eb02 /CHANGELOG.md | |
| parent | fix(windows): route Windows Terminal through the VT input path (#5335) (diff) | |
| download | sl0ppij-d1a85aedfed81bc8d6af9b8aab6231d240379c77.tar.gz sl0ppij-d1a85aedfed81bc8d6af9b8aab6231d240379c77.tar.xz sl0ppij-d1a85aedfed81bc8d6af9b8aab6231d240379c77.zip | |
fix(windows): preserve backslashes when quoting spawned-process arguments (#5336)
`build_command_line` in the ConPTY backend accumulated runs of backslashes
inside a quoted argument but never emitted them before non-quote characters,
so `C:\Users\me\Folder With Space\README.md` reached the child as
`C:UsersmeFolder With SpaceREADME.md`. Only args routed through the quoted
branch were affected, which matches the reported `zellij edit` failure on
Windows backslash paths containing spaces.
Rewrite the loop to follow `CommandLineToArgvW` rules exactly: n backslashes
not followed by a quote emit literally, 2n+1 escape an embedded quote, and
trailing backslashes are doubled before the closing quote. Add unit tests
for each case, including a regression test for the issue #5293 repro.
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 2bf432ff..ee71eded 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) * feat: stacked lists - new stack UI (https://github.com/zellij-org/zellij/pull/5331 and https://github.com/zellij-org/zellij/pull/5337) * fix: more verbose startup errors (https://github.com/zellij-org/zellij/pull/5334) * fix(windows): route Windows Terminal through the VT input path (https://github.com/zellij-org/zellij/pull/5335) +* fix(windows): backslashes dropped when quoting arguments passed to spawned processes (https://github.com/zellij-org/zellij/pull/5336) ## [0.44.3] - 2026-05-13 * fix(windows): bump windows-sys to 0.59 to align manifest with code, fixing source builds via `cargo install`/`cargo binstall` (https://github.com/zellij-org/zellij/pull/5139) |
