TIL: One escape sequence makes my terminal follow my AI agent into a worktree
A developer discovered that using the OSC 7 escape sequence allows their terminal to automatically track the current directory when an AI agent like Claude Code switches to a different worktree, elimi…