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

git pushed a commit to branch tymux
in repository terminology.

View the commit online.

commit f81cc311973ba6c63be4205b460d253798548bc1
Author: [email protected] <[email protected]>
AuthorDate: Thu Mar 19 12:20:40 2026 -0600

    fix: guard termio_cwd_get against pid=-1 and finalize tymux indicator
    
    The shadow Termpty has pid=-1, causing termio_cwd_get to try
    /proc/-1/cwd which fails with an error log on every tab switch.
    Guard with pid <= 0 early return.
    
    Revert debug changes (10px width, ERR log) to final 2px indicator
    with color_class.
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
---
 src/bin/termio.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bin/termio.c b/src/bin/termio.c
index ab410723..3749e85b 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -458,6 +458,8 @@ termio_cwd_get(const Evas_Object *obj, char *buf, size_t size)
    EINA_SAFETY_ON_NULL_RETURN_VAL(sd, EINA_FALSE);
 
    pid = termpty_pid_get(sd->pty);
+   if (pid <= 0)
+     return EINA_FALSE;
 
 #if defined (__MacOSX__) || (defined (__MACH__) && defined (__APPLE__))
 

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

Reply via email to