This repository has no description

lib-vt: add pwd_changed callback for OSC 7/9/1337 (#12956) master

Previously the libghostty-vt stream handler dropped .report_pwd as a no-op, so embedders never saw shell-reported cwd changes and the terminal's pwd field was never populated from escape sequences. Wire the action to setPwd and expose a pwd_changed callback analogous to title_changed via GHOSTTY_TERMINAL_OPT_PWD_CHANGED. The payload is passed through unparsed; embedders read it with ghostty_terminal_get and decode any URI scheme themselves. This is proposed in [discussion#12927](https://github.com/ghostty-org/ghostty/discussions/12927)


+141 -1
3 changed files