[FEATURE] Report process id or window id in OSC99 notifications

Status Fixed / completed
Maintainer reply None cached
Activity 4 comments · opened Feb 28, 2026 · closed Mar 1, 2026

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

I would like to have the urgent flag on a window where claude just completed. I sometimes have multiple instances (some long running, some short, some exploratory) and I have no real idea what window just completed and even if you provided the name I don't necessarily remember where in my i3 workspace it is.

Proposed Solution

If the urgent bit was flipped I would get an immediate pointer to the workspace and window, greatly improving my efficiency. But to do that I need to be able to know which window id it was but they all report the same Claude Code title and no identifying information. A process id or window id would be the the way to do that.

In the terminal doing xdotool search --pid $PPID will get the window id, providing the PPID will also work here (it will be my kitty terminal).

Alternative Solutions

_No response_

Priority

High - Significant impact on productivity

Feature Category

Interactive mode (TUI)

Use Case Example

_No response_

Additional Context

_No response_

View original on GitHub ↗

4 Comments

github-actions[bot] · 7 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/20383
  2. https://github.com/anthropics/claude-code/issues/28720
  3. https://github.com/anthropics/claude-code/issues/26988

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

baruch · 7 months ago

This request is not the same as any of the others. It asks for the pid in the notification rather than the status line or title.

I'm not certain that the fix should be in Claude though. It may be more appropriate in kitty itself and so I opened a feature request in kitty as well.

BaruchWeka · 7 months ago

Never mind I found I can do it within kitty, here is a gist that does it for all windows but can be filtered as well: https://gist.github.com/BaruchWeka/6e04ab9da80f468c525106dbb7ec06a0

github-actions[bot] · 7 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.