mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 19:39:04 +00:00
Use osdep_get_name.
This commit is contained in:
parent
86d6666fe7
commit
9543f076fd
@ -465,7 +465,7 @@ window_tree_search(__unused void *modedata, void *itemdata, const char *ss)
|
||||
case WINDOW_TREE_PANE:
|
||||
if (s == NULL || wl == NULL || wp == NULL)
|
||||
break;
|
||||
cmd = get_proc_name(wp->fd, wp->tty);
|
||||
cmd = osdep_get_name(wp->fd, wp->tty);
|
||||
if (cmd == NULL || *cmd == '\0')
|
||||
return (0);
|
||||
return (strstr(cmd, ss) != NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user