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 /zellij-integration-tests/tests/snapshots/resize__resize_decrease_up.snap | |
| 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 'zellij-integration-tests/tests/snapshots/resize__resize_decrease_up.snap')
0 files changed, 0 insertions, 0 deletions
