On OS X, osdep_get_name calls sysctl by the pid of the session leader process. But sysctl returns 0 even though process is gone, so osdep_get_name returns uninitialized value.
For example, command `ps | less` (ps -- session leader -- quits before less) causes status-line disarray sometimes. (tmux built by clang, default config) http://i.imgur.com/47P56.png I propose the following patch. https://gist.github.com/ichizok/4231151/raw/346c46e955cf3b877f54938205ca10eea6856e22/osdep-darwin.c.diff Regards, OZAKI ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users