This is an automated email from the git hooks/post-receive script.

git pushed a commit to reference refs/pull/36/head
in repository terminology.

View the commit online.

commit 831089474a0f4b195c717e428ddb10e46ddffd50
Author: [email protected] <[email protected]>
AuthorDate: Thu May 14 18:53:09 2026 -0600

    feat(tymux): daemon sends shell pid in ATTACHED message
    
    Task 2 of tymux cwd tracking design. The daemon now passes the
    shell's process ID (clamped to -1 if non-positive) to the client
    via the ATTACHED message, enabling the client to track the actual
    running shell process.
---
 src/bin/termd_tymux.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/bin/termd_tymux.c b/src/bin/termd_tymux.c
index b89bd8be..06b16ec6 100644
--- a/src/bin/termd_tymux.c
+++ b/src/bin/termd_tymux.c
@@ -861,7 +861,9 @@ termd_tymux_client_add(TermDTymux *sess, int cfd)
                                 (uint32_t)sess->pty->h,
                                 (uint32_t)sess->backlog_buf_count,
                                 TERMSRV_BACKLOG_MAX_LINES,
-                                sess->oldest_buf_id) < 0)
+                                sess->oldest_buf_id,
+                                (int32_t)(sess->pty->pid > 0
+                                          ? sess->pty->pid : -1)) < 0)
         {
            ERR("termsrv_send_attached failed for fd %d", cfd);
            close(cfd);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to