This repository has no description
Something went wrong. Try again.
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)
Author Mitchell Hashimoto Committer GitHub Date (Jun 8, 2026, 2:51 AM UTC) Commit 2ba5e6b9 2ba5e6b92963c9c9470fb30338989bb38fa11857 Parent 7092b394 7092b39445bebfd3178f562eb9e5fa9a95a32332