OSC 9;9 with semicolon as PWD crashes WT #17453

Open
opened 2026-01-31 05:42:58 +00:00 by claunia · 0 comments
Owner

Originally created by @mqudsi on GitHub (May 10, 2022).

Windows Terminal version

1.12.10984.0

Windows build number

10.0.18363.1556

Other Software

No response

Steps to reproduce

As reported by @faho:

Use OSC 9;9 to set the PWD value to a single semicolon. Under bash:

printf "\e]9;9;;\e\\"

Expected Behavior

No crash.

Actual Behavior

Windows Terminal crashes.

Originally created by @mqudsi on GitHub (May 10, 2022). ### Windows Terminal version 1.12.10984.0 ### Windows build number 10.0.18363.1556 ### Other Software _No response_ ### Steps to reproduce [As reported by @faho](https://github.com/fish-shell/fish-shell/issues/8805): Use OSC 9;9 to set the PWD value to a single semicolon. Under bash: ``` printf "\e]9;9;;\e\\" ``` ### Expected Behavior No crash. ### Actual Behavior Windows Terminal crashes.
claunia added the Issue-BugResolution-Duplicate labels 2026-01-31 05:42:58 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#17453